X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;ds=sidebyside;f=Recipe;h=a88dbc7b3db05c738f36f5137083601d087ad1c4;hb=cc66c86e7311c97db09da989c340ba3108c9e14f;hp=03b6970bbf0efb8c0c3a37a6b4246a89fe197f3a;hpb=a947c49bec36957cb5d38e1dc2e22dc0e3465849;p=PuTTY.git diff --git a/Recipe b/Recipe index 03b6970b..a88dbc7b 100644 --- a/Recipe +++ b/Recipe @@ -175,9 +175,10 @@ version.o: FORCE # backtick expression. We also force rebuilding via a -D option that # makes version.o include empty.h, which we construct ourselves and # touch whenever any source file is updated. -!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 BUILT_SOURCES = empty.h +CLEANFILES = empty.h empty.h: $(allsources) echo '/* Empty file touched by automake makefile to force rebuild of version.o */' >$@