[mupen64plus] 171/262: Enable --parallel and --list-missing for dh

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 215c7db3c49c68d9b97bf43ef1a6b0accd08081c
Author: Sven Eckelmann <sven.eckelmann at gmx.de>
Date:   Sun Apr 11 11:17:34 2010 +0200

    Enable --parallel and --list-missing for dh
---
 debian/changelog |  5 +++++
 debian/control   |  2 +-
 debian/rules     | 12 ++++++------
 3 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 172ad3a..abd60e6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,11 @@ mupen64plus (1.5+dfsg1-9) UNRELEASED; urgency=low
   * debian/patches:
     - Add ftbfs-gvariant-type-conflicts.path, Fix FTBFS due to glib's gvariant.h
       type definitions (Closes: #577329)
+  * debian/rules:
+    - Enable parallel builds using dh's --parallel
+    - Inform about missing installed files using dh's --list-missing
+  * debian/control:
+    - Depend on debhelper 7.4.10 for --parallel and --list-missing
 
  -- Sven Eckelmann <sven.eckelmann at gmx.de>  Sun, 11 Apr 2010 11:07:04 +0200
 
diff --git a/debian/control b/debian/control
index 42a5bc6..1567352 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Homepage: http://code.google.com/p/mupen64plus/
 Standards-Version: 3.8.4
 Vcs-Browser: http://git.debian.org/?p=collab-maint/mupen64plus.git
 Vcs-Git: git://git.debian.org/git/collab-maint/mupen64plus.git
-Build-Depends: debhelper (>= 7.0.50), libsdl1.2-dev, libsdl-ttf2.0-dev,
+Build-Depends: debhelper (>= 7.4.10), libsdl1.2-dev, libsdl-ttf2.0-dev,
  libfreetype6-dev, libglib2.0-dev, libgtk2.0-dev, libsamplerate0-dev,
  libpng12-dev | libpng-dev, libbz2-dev, zlib1g-dev | libz-dev,
  libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, binutils-dev,
diff --git a/debian/rules b/debian/rules
index 341147a..8108364 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,24 +4,24 @@
 DEB_HOST_GNU_CPU ?= $(shell dpkg-architecture -qDEB_HOST_GNU_CPU)
 
 %:
-	dh $@
+	dh $@ --parallel --list-missing
 
 get-orig-source:
 	uscan --verbose --force-download
 
-clean:
+override_dh_auto_clean:
 	mkdir -p "$(CURDIR)/glN64"
 	cp "$(CURDIR)/debian/Makefile.glN64" "$(CURDIR)/glN64/Makefile"
-	dh $@
+	dh_auto_clean
 	rm -rf "$(CURDIR)/glN64"
 	rm -rf "$(CURDIR)/plugins"
 
 override_dh_auto_build:
 	mkdir -p $(CURDIR)/plugins
-	LDFLAGS='-Wl,--as-needed' $(MAKE) UNAME='$(DEB_HOST_GNU_CPU)' DBGSYM=1 DBG=1 all
+	LDFLAGS='-Wl,--as-needed' dh_auto_build -- all UNAME='$(DEB_HOST_GNU_CPU)' DBGSYM=1 DBG=1
 
 override_dh_auto_install:
-	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp PREFIX=/usr/ LIBDIR=/usr/lib/mupen64plus/ BINDIR=/usr/games/ install
+	dh_auto_install -- DESTDIR=$(CURDIR)/debian/tmp PREFIX=/usr/ LIBDIR=/usr/lib/mupen64plus/ BINDIR=/usr/games/
 	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
@@ -29,4 +29,4 @@ override_dh_auto_install:
 override_dh_strip:
 	dh_strip -a --dbg-package=mupen64plus-dbg
 
-.PHONY: clean get-orig-source
+.PHONY: get-orig-source

-- 
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