[mupen64plus-input-sdl] 12/196: Simplify debian/rules with common options for install and build

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


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

ecsv-guest pushed a commit to branch master
in repository mupen64plus-input-sdl.

commit 438ced283b569277279a03c8fb33d05bce7d4190
Author: Sven Eckelmann <sven.eckelmann at gmx.de>
Date:   Mon Mar 1 13:42:45 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 f4c0132..1e16cdf 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/
 
 %:
 	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/ install
+	dh_auto_install -- $(MAKEOPTIONS)
 
 override_dh_strip:
 	dh_strip -a --dbg-package=mupen64plus-input-sdl-dbg

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



More information about the Pkg-games-commits mailing list