[pocl] 04/05: make the fix-symbols target readable and customizable

Andreas Beckmann anbe at moszumanska.debian.org
Mon Apr 25 15:54:29 UTC 2016


This is an automated email from the git hooks/post-receive script.

anbe pushed a commit to branch master
in repository pocl.

commit ce86563e0c4fb97938296843bb8962ef03d04e9e
Author: Andreas Beckmann <anbe at debian.org>
Date:   Mon Apr 25 16:25:46 2016 +0200

    make the fix-symbols target readable and customizable
---
 debian/rules | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index c68278e..3ac4c6c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -95,6 +95,11 @@ override_dh_makeshlibs:
 override_dh_gencontrol:
 	dh_gencontrol -- -V'LLVM:Version=$(LLVM_VERSION)'
 
+
+version			 = $(shell dpkg-parsechangelog --show-field Version)
+upstream_version	 = $(shell dpkg-parsechangelog --show-field Version | sed -e 's/-[^-]*$$//')
+distribution		 = $(shell dpkg-parsechangelog --show-field Distribution)
+
 fix-symbols:
 	pkgkde-getbuildlogs
-	echo "pkgkde-symbolshelper batchpatch -v $(shell dpkg-parsechangelog --show-field Version | sed -e 's/-[^-]*$$//') pocl_$(shell dpkg-parsechangelog --show-field Distribution)_logs/pocl_$(shell dpkg-parsechangelog --show-field Version)_*build"
+	echo "pkgkde-symbolshelper batchpatch -v $(upstream_version) pocl_$(distribution)_logs/pocl_$(version)_*build"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/pocl.git



More information about the Pkg-opencl-commits mailing list