comparison modules/sysexits @ 7421:8bace4b08db5

Mark generated files as "DO NOT EDIT".
author Bruno Haible <bruno@clisp.org>
date Sat, 07 Oct 2006 14:54:51 +0000
parents 9ff9e0f3d681
children 6a764f23e302
comparison
equal deleted inserted replaced
7420:52a8ff5ade8a 7421:8bace4b08db5
15 EXTRA_DIST += sysexit_.h 15 EXTRA_DIST += sysexit_.h
16 16
17 # We need the following in order to create <sysexits.h> when the system 17 # We need the following in order to create <sysexits.h> when the system
18 # doesn't have one that works with the given compiler. 18 # doesn't have one that works with the given compiler.
19 sysexits.h: sysexit_.h 19 sysexits.h: sysexit_.h
20 cp -f $(srcdir)/sysexit_.h $@-t 20 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
21 cat $(srcdir)/sysexit_.h; \
22 } > $@-t
21 mv -f $@-t $@ 23 mv -f $@-t $@
22 MOSTLYCLEANFILES += sysexits.h sysexits.h-t 24 MOSTLYCLEANFILES += sysexits.h sysexits.h-t
23 25
24 Include: 26 Include:
25 #include <sysexits.h> 27 #include <sysexits.h>