[mupen64plus-audio-sdl] 12/163: Simplify debian/rules with common options for install and build
Sven Eckelmann
ecsv-guest at moszumanska.debian.org
Thu Nov 26 05:53:01 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 b951eca3ad025b7e3bc4f0b9b2c3aee56a57b820
Author: Sven Eckelmann <sven.eckelmann at gmx.de>
Date: Mon Mar 1 13:42:11 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 bfd29b7..104c4f4 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-audio-sdl-dbg
--
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