* build-aux/config.guess: Update from config.
[gnulib.git] / modules / argz
index fe1e40d..7f21c00 100644 (file)
@@ -13,22 +13,21 @@ gl_FUNC_ARGZ
 
 Makefile.am:
 BUILT_SOURCES += $(ARGZ_H)
-EXTRA_DIST += argz_.h
 
 # We need the following in order to create <argz.h> when the system
 # doesn't have one that works with the given compiler.
 argz.h: argz_.h
-       rm -f $@-t $@
-       cp $(srcdir)/argz_.h $@-t
-       chmod a-x $@-t
-       mv $@-t $@
+       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+         cat $(srcdir)/argz_.h; \
+       } > $@-t
+       mv -f $@-t $@
 MOSTLYCLEANFILES += argz.h argz.h-t
 
 Include:
 <argz.h>
 
 License:
-LGPL
+LGPLv2+
 
 Maintainer:
 bug-libtool@gnu.org