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 ccfa1ef3ef5ec32b570354df60c481b0a3acaec9
Author: Sven Eckelmann <[email protected]>
Date:   Mon Mar 1 01:00:19 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 f89e0fb..dfdecfd 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-audio-sdl.git
 Vcs-Git: git://git.debian.org/git/collab-maint/mupen64plus-audio-sdl.git
-Build-Depends: debhelper (>= 7.0.50), libmupen64plus-dev, libsdl1.2-dev,
+Build-Depends: debhelper (>= 7.3.7), libmupen64plus-dev, libsdl1.2-dev,
  libsamplerate0-dev, pkg-config
 
 Package: mupen64plus-audio-sdl
diff --git a/debian/rules b/debian/rules
index 565b01e..bfd29b7 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-audio-sdl-dbg

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/mupen64plus-audio-sdl.git

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to