From ec4011a18b999f6023a72aaf39376ab0cfe25327 Mon Sep 17 00:00:00 2001 From: Lekensteyn Date: Sat, 16 Jun 2012 22:43:32 +0200 Subject: [PATCH] Always update version when configure is executed --- Makefile.am | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index e1d5774b..644e3eba 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,5 @@ SUBDIRS=lib src -EXTRA_DIST=server.html +EXTRA_DIST=server.html VERSION docs: doxygen ./Doxyfile > /dev/null .PHONY: docs diff --git a/configure.ac b/configure.ac index 4837fbcc..289a67fe 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ AC_PREREQ([2.60]) AC_INIT([MistServer], - m4_esyscmd([git describe --tags | tr -d '\n']), + m4_esyscmd([git rev-parse 2>/dev/null&&git describe --tags > VERSION;tr -d '\n' < VERSION]), [contact@ddvtech.com]) AC_CONFIG_SRCDIR([src/buffer.cpp]) # foreign: no need for NEWS or INSTALL files