]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Remove empty.h from CLEANFILES, so that after mkfiles.pl has
authorSimon Tatham <anakin@pobox.com>
Fri, 16 Sep 2011 09:01:41 +0000 (09:01 +0000)
committerSimon Tatham <anakin@pobox.com>
Fri, 16 Sep 2011 09:01:41 +0000 (09:01 +0000)
constructed it it won't be deleted again by 'make clean'. The effect
is that not only does this work (as r9288 arranged),

  ./configure; make plink

but these work too:

  ./configure; make; make clean; make plink
  ./configure; make; make distclean; ./configure; make plink

[originally from svn r9290]
[r9288 == a4424bfd85a44a7aed5e6d5f85daaeb86c0f24e5]

Recipe

diff --git a/Recipe b/Recipe
index 677d42e16d49869e9f82d97c64bf35782eb6263b..94069153fc796fdf46efb00670825753d0b42fa4 100644 (file)
--- a/Recipe
+++ b/Recipe
@@ -177,7 +177,6 @@ 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 */' >$@