[mupen64plus-ui-console] 12/172: Simplify debian/rules with common options for install and build

Sven Eckelmann ecsv-guest at moszumanska.debian.org
Thu Nov 26 06:07:24 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-ui-console.

commit ba1527fce56916950737baeb7a5f44f71238cffa
Author: Sven Eckelmann <sven.eckelmann at gmx.de>
Date:   Mon Mar 1 13:42:50 2010 +0100

    Simplify debian/rules with common options for install and build
---
 debian/rules | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 428821e..c51a07a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,7 @@
 
 DEB_HOST_GNU_CPU ?= $(shell dpkg-architecture -qDEB_HOST_GNU_CPU)
 DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+MAKEOPTIONS = UNAME='$(DEB_HOST_ARCH_OS)' HOST_CPU='$(DEB_HOST_GNU_CPU)' APIDIR=/usr/include/mupen64plus/ DEBUG=1 PREFIX=/usr/ MANDIR=/usr/share/man/man6/ BINDIR=/usr/games/
 
 %:
 	dh $@ --sourcedirectory="projects/unix"
@@ -11,10 +12,10 @@ get-orig-source:
 	uscan --verbose --force-download
 
 override_dh_auto_build:
-	LDFLAGS='-Wl,--as-needed' dh_auto_build -- UNAME='$(DEB_HOST_ARCH_OS)' HOST_CPU='$(DEB_HOST_GNU_CPU)' APIDIR=/usr/include/mupen64plus/ DEBUG=1 all
+	LDFLAGS='-Wl,--as-needed' dh_auto_build -- all $(MAKEOPTIONS)
 
 override_dh_auto_install:
-	dh_auto_install -- DESTDIR="$(CURDIR)/debian/tmp" PREFIX=/usr/ MANDIR=/usr/share/man/man6/ BINDIR=/usr/games/ install
+	dh_auto_install -- $(MAKEOPTIONS)
 
 override_dh_strip:
 	dh_strip -a --dbg-package=mupen64plus-ui-console-dbg

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



More information about the Pkg-games-commits mailing list