[mupen64plus-core] 10/310: Simplify makefile using dh's 7.3.7 --sourcedirectory option
Sven Eckelmann
ecsv-guest at moszumanska.debian.org
Thu Nov 26 05:56:53 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-core.
commit 43a3fb2e78c9e89eed408ea3f9ef18469fd2376f
Author: Sven Eckelmann <sven.eckelmann at gmx.de>
Date: Mon Mar 1 01:01:27 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 b8e28a4..db0ca06 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-core.git
Vcs-Git: git://git.debian.org/git/collab-maint/mupen64plus-core.git
-Build-Depends: debhelper (>= 7.0.50), libfreetype6-dev, libsdl1.2-dev,
+Build-Depends: debhelper (>= 7.3.7), libfreetype6-dev, libsdl1.2-dev,
libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev,
libpng12-dev | libpng-dev, zlib1g-dev | libz-dev, binutils-dev
diff --git a/debian/rules b/debian/rules
index c7a4eae..31f038f 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)' 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)' DEBUG=1 all
override_dh_auto_install:
- cd "$(CURDIR)/projects/unix/" && \
- $(MAKE) DESTDIR=$(CURDIR)/debian/tmp PREFIX=/usr/ LDCONFIG=true install
+ dh_auto_install -- DESTDIR="$(CURDIR)/debian/tmp" PREFIX=/usr/ LDCONFIG=true install
cp -d "$(CURDIR)/projects/unix/libmupen64plus.so.2" "$(CURDIR)/debian/tmp/usr/lib/"
override_dh_strip:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mupen64plus-core.git
More information about the Pkg-games-commits
mailing list