X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fgetopt;h=fa01d90d1d1a85d7b557c5aa6591d947db6b6cd0;hb=7d5d77e65684de1c65c74c1b1d87a6c4f591b045;hp=55fc61a603a6e52223f2fd56d640e48abf9b5d53;hpb=266f4849713b596f0dce71069dba18dc2fbb081d;p=gnulib.git diff --git a/modules/getopt b/modules/getopt index 55fc61a60..fa01d90d1 100644 --- a/modules/getopt +++ b/modules/getopt @@ -17,13 +17,14 @@ gl_GETOPT Makefile.am: BUILT_SOURCES += $(GETOPT_H) -EXTRA_DIST += getopt_.h getopt_int.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. getopt.h: getopt_.h - cp $(srcdir)/getopt_.h $@-t - mv $@-t $@ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + cat $(srcdir)/getopt_.h; \ + } > $@-t + mv -f $@-t $@ MOSTLYCLEANFILES += getopt.h getopt.h-t Include: