Mercurial > hg > octave-nkf > gnulib-hg
diff modules/fnmatch @ 7421:8bace4b08db5
Mark generated files as "DO NOT EDIT".
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 07 Oct 2006 14:54:51 +0000 (2006-10-07) |
parents | 9ff9e0f3d681 |
children | cb5141654dbb |
line wrap: on
line diff
--- a/modules/fnmatch +++ b/modules/fnmatch @@ -22,7 +22,9 @@ # We need the following in order to create <fnmatch.h> when the system # doesn't have one that supports the required API. fnmatch.h: fnmatch_.h - cp -f $(srcdir)/fnmatch_.h $@-t + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + cat $(srcdir)/fnmatch_.h; \ + } > $@-t mv -f $@-t $@ MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t