[mame] 03/05: Avoid arch-indep builds from doing a full build.
Jordi Mallach
jordi at moszumanska.debian.org
Tue Jul 19 11:10:02 UTC 2016
This is an automated email from the git hooks/post-receive script.
jordi pushed a commit to branch master
in repository mame.
commit 22ba68c05a1dab04d0eff4a4043c3c807693502d
Author: Jordi Mallach <jordi at debian.org>
Date: Fri Jul 15 11:24:53 2016 +0200
Avoid arch-indep builds from doing a full build.
Add an empty dh_auto_build-indep rule, and rename dh_auto_build and
dh_auto_test to -arch.
---
debian/changelog | 3 +++
debian/rules | 6 ++++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 6b0f620..916bb9f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,9 @@ mame (0.175-2) unstable; urgency=medium
* Add some additional docs to the mame binary.
* Use system libuv.
* Install default plugin.ini and ui.ini files as examples.
+ * Add an empty override_dh_auto_build-indep rule, so arch-independent
+ don't actually build the whole thing. Also rename dh_auto_test to
+ their -arch variants.
-- Cesare Falco <c.falco at ubuntu.com> Fri, 08 Jul 2016 13:08:40 +0200
diff --git a/debian/rules b/debian/rules
index af35f7d..bc7a767 100755
--- a/debian/rules
+++ b/debian/rules
@@ -172,7 +172,7 @@ endif
%:
dh $@
-override_dh_auto_build:
+override_dh_auto_build-arch:
$(MAKE) $(DEB_OPTS) $(DEB_MAME_OPTS)
-mv mame64 mame #FIXME
$(CURDIR)/mame -createconfig
@@ -180,7 +180,9 @@ override_dh_auto_build:
mv plugin.ini default.plugin.ini
mv ui.ini default.ui.ini
-override_dh_auto_test:
+override_dh_auto_build-indep:
+
+override_dh_auto_test-arch:
# Run MAME's internal validation tests
-$(CURDIR)/mame -validate
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mame.git
More information about the Pkg-games-commits
mailing list