[mupen64plus-core] 11/310: Simplify debian/rules with common options for install and build

Sven Eckelmann ecsv-guest at moszumanska.debian.org
Thu Nov 26 05:56:54 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-core.

commit 025ba65496e92facf34ba60703fa2dc48d186bd8
Author: Sven Eckelmann <sven.eckelmann at gmx.de>
Date:   Mon Mar 1 13:42:42 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 31f038f..f3396fe 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/ LDCONFIG=true
 
 %:
 	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)' 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/ LDCONFIG=true install
+	dh_auto_install -- $(MAKEOPTIONS)
 	cp -d "$(CURDIR)/projects/unix/libmupen64plus.so.2" "$(CURDIR)/debian/tmp/usr/lib/"
 
 override_dh_strip:

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



More information about the Pkg-games-commits mailing list