[mupen64plus-audio-sdl] 57/163: Unify debian/rules with other mupen64plus plugins

Sven Eckelmann ecsv-guest at moszumanska.debian.org
Thu Nov 26 05:53:12 UTC 2015


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

ecsv-guest pushed a commit to branch armhf_test
in repository mupen64plus-audio-sdl.

commit b48f2472be0a449b9f3cd597a594253d6f1e025a
Author: Sven Eckelmann <sven at narfation.org>
Date:   Sun Jul 24 00:05:09 2011 +0200

    Unify debian/rules with other mupen64plus plugins
---
 debian/rules | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 5f4ce61..d176c5b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,6 +20,8 @@ DEB_HOST_GNU_CPU ?= $(shell dpkg-architecture -qDEB_HOST_GNU_CPU)
 DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
 MAKEOPTIONS = V=1 UNAME='$(DEB_HOST_ARCH_OS)' HOST_CPU='$(DEB_HOST_GNU_CPU)' APIDIR=/usr/include/mupen64plus/ DEBUG=1 PREFIX=/usr/ LIBDIR="/usr/lib/$(DEB_HOST_MULTIARCH)/mupen64plus" PIC=1 OPTFLAGS=""
 
+DBG_PACKAGE=$(shell dpkg-parsechangelog|grep '^Source: '|sed 's/^Source:\s*//')-dbg
+
 binary binary-arch binary-indep build build-arch build-indep clean install install-arch install-indep %:
 	dh $@ --sourcedirectory="projects/unix" --parallel --list-missing
 
@@ -33,7 +35,7 @@ override_dh_auto_install:
 	dh_auto_install -- $(MAKEOPTIONS)
 
 override_dh_strip:
-	dh_strip -a --dbg-package=mupen64plus-audio-sdl-dbg
+	dh_strip -a --dbg-package="$(DBG_PACKAGE)"
 
 override_dh_installchangelogs:
 	dh_installchangelogs RELEASE

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



More information about the Pkg-games-commits mailing list