[mupen64plus-video-rice] 10/191: Simplify makefile using dh's 7.3.7 --sourcedirectory option
Sven Eckelmann
ecsv-guest at moszumanska.debian.org
Thu Nov 26 06:17:10 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-video-rice.
commit ad7351503fceac983ec815ce234fa048ef33f91c
Author: Sven Eckelmann <sven.eckelmann at gmx.de>
Date: Mon Mar 1 01:01:37 2010 +0100
Simplify makefile using dh's 7.3.7 --sourcedirectory option
---
debian/control | 2 +-
debian/rules | 12 +++---------
2 files changed, 4 insertions(+), 10 deletions(-)
diff --git a/debian/control b/debian/control
index 9115b8d..bf85018 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-video-rice.git
Vcs-Git: git://git.debian.org/git/collab-maint/mupen64plus-video-rice.git
-Build-Depends: debhelper (>= 7.0.50), libmupen64plus-dev, libsdl1.2-dev,
+Build-Depends: debhelper (>= 7.3.7), libmupen64plus-dev, libsdl1.2-dev,
libgl1-mesa-dev | libgl-dev, libpng12-dev | libpng-dev
Package: mupen64plus-video-rice
diff --git a/debian/rules b/debian/rules
index ec67941..884cb43 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,22 +5,16 @@ DEB_HOST_GNU_CPU ?= $(shell dpkg-architecture -qDEB_HOST_GNU_CPU)
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
%:
- dh $@
+ dh $@ --sourcedirectory="projects/unix"
get-orig-source:
uscan --verbose --force-download
override_dh_auto_build:
- cd "$(CURDIR)/projects/unix/" && \
- LDFLAGS='-Wl,--as-needed' $(MAKE) UNAME='$(DEB_HOST_ARCH_OS)' HOST_CPU='$(DEB_HOST_GNU_CPU)' APIDIR=/usr/include/mupen64plus/ DEBUG=1 all
-
-override_dh_auto_clean:
- cd "$(CURDIR)/projects/unix/" && \
- $(MAKE) clean
+ 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
override_dh_auto_install:
- cd "$(CURDIR)/projects/unix/" && \
- $(MAKE) DESTDIR=$(CURDIR)/debian/tmp PREFIX=/usr/ install
+ dh_auto_install -- DESTDIR="$(CURDIR)/debian/tmp" PREFIX=/usr/ install
override_dh_strip:
dh_strip -a --dbg-package=mupen64plus-video-rice-dbg
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mupen64plus-video-rice.git
More information about the Pkg-games-commits
mailing list