]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Add the autogenerated empty.h to CLEANFILES.
authorSimon Tatham <anakin@pobox.com>
Sat, 22 Feb 2014 18:02:10 +0000 (18:02 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 22 Feb 2014 18:02:10 +0000 (18:02 +0000)
Colin Watson points out that it's untidy to create it with the
makefile but not clean it up again in the same way.

[originally from svn r10143]

Recipe

diff --git a/Recipe b/Recipe
index 03b6970bbf0efb8c0c3a37a6b4246a89fe197f3a..94adddd026371efa3924a811a5f492642c25246f 100644 (file)
--- a/Recipe
+++ b/Recipe
@@ -178,6 +178,7 @@ version.o: FORCE
 !cflags am version $(VER) -DINCLUDE_EMPTY_H `if test -z "$(VER)" && (cd $(srcdir)/..; md5sum -c manifest >/dev/null 2>&1); then cat $(srcdir)/../version.def; else echo "$(VER)"; fi`
 !begin am
 BUILT_SOURCES = empty.h
+CLEANFILES = empty.h
 empty.h: $(allsources)
        echo '/* Empty file touched by automake makefile to force rebuild of version.o */' >$@