X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fgetopt;h=39751bf331a2f088303549ae6abe6c9067f3b308;hb=0a3f7af426469ab51370585e1a3afba66ff24b57;hp=0e15175cbb9808973cca851500779336aaa48c1a;hpb=db4485a5633c5acd440bb0d29c02d28f0b13b90e;p=gnulib.git diff --git a/modules/getopt b/modules/getopt index 0e15175cb..39751bf33 100644 --- a/modules/getopt +++ b/modules/getopt @@ -2,33 +2,36 @@ Description: Process command line arguments. Files: -lib/getopt_.h +lib/getopt.in.h lib/getopt.c lib/getopt1.c lib/getopt_int.h m4/getopt.m4 Depends-on: -gettext +gettext-h +unistd configure.ac: gl_GETOPT Makefile.am: BUILT_SOURCES += $(GETOPT_H) -EXTRA_DIST += getopt_.h getopt_int.h -# We need the following in order to create an when the system +# We need the following in order to create when the system # doesn't have one that works with the given compiler. -all-local $(lib_OBJECTS): $(GETOPT_H) -getopt.h: getopt_.h - cp $(srcdir)/getopt_.h $@-t - mv $@-t $@ +getopt.h: getopt.in.h + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + cat $(srcdir)/getopt.in.h; \ + } > $@-t + mv -f $@-t $@ MOSTLYCLEANFILES += getopt.h getopt.h-t Include: +License: +LGPL + Maintainer: all, glibc -