1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-05-28 15:24:49 -05:00

Remove empty.h from CLEANFILES, so that after mkfiles.pl has

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]
This commit is contained in:
Simon Tatham 2011-09-16 09:01:41 +00:00
parent 78466a6b68
commit b53c04b43a

1
Recipe
View File

@ -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` !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 !begin am
BUILT_SOURCES = empty.h BUILT_SOURCES = empty.h
CLEANFILES = empty.h
empty.h: $(allsources) empty.h: $(allsources)
echo '/* Empty file touched by automake makefile to force rebuild of version.o */' >$@ echo '/* Empty file touched by automake makefile to force rebuild of version.o */' >$@