Mark generated files as "DO NOT EDIT".
[gnulib.git] / modules / stdbool
1 Description:
2 An <stdbool.h> that nearly conforms to C99.
3 (Nearly: casts to bool may not work.)
4
5 Files:
6 lib/stdbool_.h
7 m4/stdbool.m4
8
9 Depends-on:
10
11 configure.ac:
12 AM_STDBOOL_H
13
14 Makefile.am:
15 BUILT_SOURCES += $(STDBOOL_H)
16 EXTRA_DIST += stdbool_.h
17
18 # We need the following in order to create <stdbool.h> when the system
19 # doesn't have one that works.
20 stdbool.h: stdbool_.h
21         rm -f $@-t $@
22         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
23           sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h; \
24         } > $@-t
25         mv $@-t $@
26 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
27
28 Include:
29 #include <stdbool.h>
30
31 License:
32 LGPL
33
34 Maintainer:
35 Bruno Haible