[flint] 01/01: Determine version from changelog in d/rules.
Tobias Hansen
thansen at moszumanska.debian.org
Thu Aug 7 22:46:55 UTC 2014
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository flint.
commit ba806a0c533fe506651c2461b073e4cd12b025f6
Author: Tobias Hansen <tobias.han at gmx.de>
Date: Thu Aug 7 22:14:43 2014 +0200
Determine version from changelog in d/rules.
---
debian/rules | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 9b1e72f..ab5b1ab 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-VERSION=2.4.4
+VERSION := $(shell dpkg-parsechangelog | grep -x "Version:.*" | sed 's at Version: \(.\+\)-.\+@\1@')
EXTRA_SHARED_FLAGS=-Wl,-soname,libflint-$(VERSION).so
MAKE_OVERRIDE = AT= QUIET_CXX= QUIET_CC= QUIET_AR= INCS=-I$(CURDIR) \
ABI_FLAG='$(LDFLAGS)'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/flint.git
More information about the debian-science-commits
mailing list