* modules/argz (License): LGPLv2+.
[gnulib.git] / modules / argz
index 5d14e05..7f21c00 100644 (file)
@@ -13,21 +13,21 @@ gl_FUNC_ARGZ
 
 Makefile.am:
 BUILT_SOURCES += $(ARGZ_H)
-EXTRA_DIST += argz_.h
 
-# We need the following in order to create an <argz.h> when the system
+# We need the following in order to create <argz.h> when the system
 # doesn't have one that works with the given compiler.
-all-local $(lib_OBJECTS): $(ARGZ_H)
 argz.h: argz_.h
-       cp $(srcdir)/argz_.h $@-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:
-GPL
+LGPLv2+
 
 Maintainer:
 bug-libtool@gnu.org