Remove empty.h from CLEANFILES, so that after mkfiles.pl has
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 16 Sep 2011 09:01:41 +0000 (09:01 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
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

git-svn-id: svn://svn.tartarus.org/sgt/putty@9290 cda61777-01e9-0310-a592-d414129be87e

Recipe

diff --git a/Recipe b/Recipe
index 677d42e..9406915 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 */' >$@