From: Colin Leroy Date: Thu, 30 May 2013 12:37:19 +0000 (+0200) Subject: Get rid of version.in - forgotten files X-Git-Tag: 3.9.2~5 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=9375966944e6fef9cc85820b329c46125a93b3f3 Get rid of version.in - forgotten files --- diff --git a/Makefile.am b/Makefile.am index 10bc3ffb2..9393b485e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -17,7 +17,6 @@ EXTRA_DIST = \ claws-mail.png \ autogen.sh \ claws-features.h.in \ - version.in \ version # hicolor icon theme, base class of all icon themes @@ -78,10 +77,11 @@ clawsinclude_HEADERS = \ relnotesdir = $(docdir) relnotes_DATA = RELEASE_NOTES -dist-hook: ChangeLog +dist-local: ChangeLog -clean-local: +maintainer-clean-local: @rm -f ChangeLog + @rm -f version ChangeLog: version @./tools/gitlog2changelog.py 3.9.0 > ChangeLog diff --git a/configure.ac b/configure.ac index fe478cd20..3c8a5f5fc 100644 --- a/configure.ac +++ b/configure.ac @@ -18,9 +18,10 @@ if test \( -d .git \); then AC_MSG_ERROR([*** git not found. See http://git-scm.com/]) else GIT_VERSION=`git describe --abbrev=6 --dirty --always` + echo "echo ${GIT_VERSION}" > ./version fi else - GIT_VERSION=`sh -c '. ./version'` + GIT_VERSION=`sh -c ". ./$srcdir/version"` fi MAJOR_VERSION=${GIT_VERSION%%.*} MINOR_VERSION=${GIT_VERSION#*.} @@ -1969,7 +1970,6 @@ manual/de/dist/ps/Makefile manual/de/dist/html/Makefile manual/de/dist/txt/Makefile claws-mail.pc -version ]) dnl Output the configuration summary