Tests for module 'isnanl'.
[gnulib.git] / modules / argz
index bf587c4..30b474f 100644 (file)
@@ -13,13 +13,14 @@ 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
-       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: