From 7f17b44b0e855563377f8ec138d750440dab4bb0 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 7 Jul 2014 19:47:23 +0000 Subject: [PATCH] Fix automatic version numbering in the Unix tarball. Manfred Schwarb points out that when I moved the autoconf machinery up from the unix subdirectory to the top level, in r10141, I missed a couple of lingering $(srcdir)/.. in the make rule for version.o, as a result of which the automatic checking of the manifest wasn't doing its thing and tools built from a standard .tar.gz were reporting as 'Unidentified build'. [originally from svn r10201] [r10141 == a947c49bec36957cb5d38e1dc2e22dc0e3465849] --- Recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Recipe b/Recipe index 94adddd0..a88dbc7b 100644 --- a/Recipe +++ b/Recipe @@ -175,7 +175,7 @@ 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