[wxmupen64plus] 39/71: Automatically set name of the debug package

Sven Eckelmann ecsv-guest at moszumanska.debian.org
Thu Nov 26 06:23:35 UTC 2015


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

ecsv-guest pushed a commit to branch experimental
in repository wxmupen64plus.

commit 1872b79a99dc4bdcc4f8df1e40c556ab151fa478
Author: Sven Eckelmann <sven at narfation.org>
Date:   Mon May 7 21:51:57 2012 +0200

    Automatically set name of the debug package
---
 debian/rules | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index b282630..2edbde5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,7 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed
 
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+DBG_PACKAGE=$(shell dpkg-parsechangelog|grep '^Source: '|sed 's/^Source:\s*//')-dbg
 
 CFLAGS += -DCOREDIR="\"/usr/lib/$(DEB_HOST_MULTIARCH)/\""
 CXXFLAGS += -DCOREDIR="\"/usr/lib/$(DEB_HOST_MULTIARCH)/\""
@@ -33,7 +34,7 @@ override_dh_auto_install:
 	/usr/bin/python waf install $(MAKEOPTIONS)
 
 override_dh_strip:
-	dh_strip -a --dbg-package=wxmupen64plus-dbg
+	dh_strip -a --dbg-package="$(DBG_PACKAGE)"
 
 .PHONY: binary binary-arch binary-indep build build-arch build-indep clean install install-arch install-indep \
 	get-orig-source override_dh_auto_clean override_dh_auto_build override_dh_auto_configure override_dh_auto_install override_dh_strip

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/wxmupen64plus.git



More information about the Pkg-games-commits mailing list