add xapian version to version string
This commit is contained in:
parent
db021bf673
commit
9e906602ce
@ -19,9 +19,11 @@ all: mk/sysconf common/rclversion.h
|
|||||||
mk/sysconf:
|
mk/sysconf:
|
||||||
@echo "You need to run configure first" ; exit 1
|
@echo "You need to run configure first" ; exit 1
|
||||||
|
|
||||||
common/rclversion.h: VERSION
|
versfile=common/rclversion.h
|
||||||
echo 'static const char *rclversion = "'`cat VERSION`'";' \
|
${versfile} : VERSION
|
||||||
> common/rclversion.h
|
echo '#include <xapian/version.h>' > ${versfile}
|
||||||
|
echo 'static const char *rclversion = "'`cat VERSION`'"' >> ${versfile}
|
||||||
|
echo '" + Xapian " XAPIAN_VERSION;' >> ${versfile}
|
||||||
|
|
||||||
static: mk/sysconf common/rclversion.h
|
static: mk/sysconf common/rclversion.h
|
||||||
cd lib; ${MAKE}
|
cd lib; ${MAKE}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user