From 9e906602ce2cdbbc611df8ca87e84e90f1816941 Mon Sep 17 00:00:00 2001 From: dockes Date: Wed, 28 Jan 2009 14:22:10 +0000 Subject: [PATCH] add xapian version to version string --- src/Makefile.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Makefile.in b/src/Makefile.in index 653633ff..8ecf2184 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -19,9 +19,11 @@ all: mk/sysconf common/rclversion.h mk/sysconf: @echo "You need to run configure first" ; exit 1 -common/rclversion.h: VERSION - echo 'static const char *rclversion = "'`cat VERSION`'";' \ - > common/rclversion.h +versfile=common/rclversion.h +${versfile} : VERSION + echo '#include ' > ${versfile} + echo 'static const char *rclversion = "'`cat VERSION`'"' >> ${versfile} + echo '" + Xapian " XAPIAN_VERSION;' >> ${versfile} static: mk/sysconf common/rclversion.h cd lib; ${MAKE}