[mupen64plus] 172/262: Share options between dh_auto_build and dh_auto_install
Sven Eckelmann
ecsv-guest at moszumanska.debian.org
Thu Nov 26 05:59:31 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.
commit f495e4ec57001b30f1e73b47348e71318e68ce81
Author: Sven Eckelmann <sven.eckelmann at gmx.de>
Date: Sun Apr 11 11:30:29 2010 +0200
Share options between dh_auto_build and dh_auto_install
---
debian/changelog | 1 +
debian/rules | 5 +++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index abd60e6..c25d7b9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ mupen64plus (1.5+dfsg1-9) UNRELEASED; urgency=low
* debian/rules:
- Enable parallel builds using dh's --parallel
- Inform about missing installed files using dh's --list-missing
+ - Share options between dh_auto_build and dh_auto_install
* debian/control:
- Depend on debhelper 7.4.10 for --parallel and --list-missing
diff --git a/debian/rules b/debian/rules
index 8108364..c1abb12 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,7 @@
# -*- makefile -*-
DEB_HOST_GNU_CPU ?= $(shell dpkg-architecture -qDEB_HOST_GNU_CPU)
+MAKEOPTIONS = UNAME='$(DEB_HOST_GNU_CPU)' DBGSYM=1 DBG=1 PREFIX=/usr/ LIBDIR=/usr/lib/mupen64plus/ BINDIR=/usr/games/
%:
dh $@ --parallel --list-missing
@@ -18,10 +19,10 @@ override_dh_auto_clean:
override_dh_auto_build:
mkdir -p $(CURDIR)/plugins
- LDFLAGS='-Wl,--as-needed' dh_auto_build -- all UNAME='$(DEB_HOST_GNU_CPU)' DBGSYM=1 DBG=1
+ LDFLAGS='-Wl,--as-needed' dh_auto_build -- all $(MAKEOPTIONS)
override_dh_auto_install:
- dh_auto_install -- DESTDIR=$(CURDIR)/debian/tmp PREFIX=/usr/ LIBDIR=/usr/lib/mupen64plus/ BINDIR=/usr/games/
+ dh_auto_install -- $(MAKEOPTIONS)
mkdir -p $(CURDIR)/debian/tmp/usr/share/man/man1/
zcat $(CURDIR)/debian/tmp/usr/man/man1/mupen64plus.1.gz|gzip -9 -n > \
$(CURDIR)/debian/tmp/usr/share/man/man1/mupen64plus.1.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mupen64plus.git
More information about the Pkg-games-commits
mailing list