Mark generated files as "DO NOT EDIT".
[pspp] / modules / getopt
1 Description:
2 Process command line arguments.
3
4 Files:
5 lib/getopt_.h
6 lib/getopt.c
7 lib/getopt1.c
8 lib/getopt_int.h
9 m4/getopt.m4
10
11 Depends-on:
12 gettext-h
13 unistd
14
15 configure.ac:
16 gl_GETOPT
17
18 Makefile.am:
19 BUILT_SOURCES += $(GETOPT_H)
20 EXTRA_DIST += getopt_.h getopt_int.h
21
22 # We need the following in order to create <getopt.h> when the system
23 # doesn't have one that works with the given compiler.
24 getopt.h: getopt_.h
25         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
26           cat $(srcdir)/getopt_.h; \
27         } > $@-t
28         mv -f $@-t $@
29 MOSTLYCLEANFILES += getopt.h getopt.h-t
30
31 Include:
32 <getopt.h>
33
34 License:
35 LGPL
36
37 Maintainer:
38 all, glibc