[Commits] [SCM] claws branch, master, updated. 3.9.1-20-g9375966

colin at claws-mail.org colin at claws-mail.org
Thu May 30 14:36:29 CEST 2013


The branch master of project "claws" (Claws Mail) has been updated
       via  9375966944e6fef9cc85820b329c46125a93b3f3 (commit)
      from  a0773b18b0651f754b806ce07c61e564ffc21a8c (commit)


- Log -----------------------------------------------------------------
commit 9375966944e6fef9cc85820b329c46125a93b3f3
Author: Colin Leroy <colin at colino.net>
Date:   Thu May 30 14:37:19 2013 +0200

    Get rid of version.in - forgotten files

diff --git a/Makefile.am b/Makefile.am
index 10bc3ff..9393b48 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 fe478cd..3c8a5f5 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

-----------------------------------------------------------------------

Summary of changes:
 Makefile.am  |    6 +++---
 configure.ac |    4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list