[fife] 02/03: Update debian/rules.

Markus Koschany apo at moszumanska.debian.org
Fri Sep 2 22:52:22 UTC 2016


This is an automated email from the git hooks/post-receive script.

apo pushed a commit to branch master
in repository fife.

commit 74fc22a5dc33a38ced73eb14bc7a7dfa61b353da
Author: Markus Koschany <apo at debian.org>
Date:   Sat Sep 3 00:28:09 2016 +0200

    Update debian/rules.
---
 debian/rules | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/debian/rules b/debian/rules
index 7182f40..394b4b6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,30 +5,24 @@ ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
 	SCONSOPTS += -j$(NUMJOBS)
 endif
 
-export PYVERS=$(shell pyversions -vr)
-
 %:
 		dh $@ --with python2
 
-override_dh_auto_configure:	$(PYVERS:%=debian/stamps/configure-python%)
-debian/stamps/configure-python%:
+override_dh_auto_configure:
 	mkdir build-python$*
 	ln -s gnukfreebsd9-config.py build/gnukfreebsd10-config.py
 	cp -r build engine ext utils SConstruct setup.py test_fife.py build-python$*
 	find build-python$*/engine/core/ext/tinyxml -type f -a \! -name fife_tinyxml.h -delete
 	touch $@
 
-override_dh_auto_build:	$(PYVERS:%=debian/stamps/build-python%)
-debian/stamps/build-python%:
+override_dh_auto_build:
 	python$* $(shell which scons) -C build-python$* fife-python $(SCONSOPTS)
 
-override_dh_auto_test:	$(PYVERS:%=debian/stamps/test-python%)
-debian/stamps/test-python%:
+override_dh_auto_test:
 	python$* $(shell which scons) -C build-python$* tests $(SCONSOPTS)
 
 
-override_dh_auto_install:	$(PYVERS:%=debian/stamps/install-python%)
-debian/stamps/install-python%:
+override_dh_auto_install:
 	python$* $(shell which scons) -C build-python$* DESTDIR=$(CURDIR)/debian/python-fife install-python $(SCONSOPTS)
 	find $(CURDIR)/debian/python-fife -name '*.so' -exec chrpath -d {} \;
 

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



More information about the Pkg-games-commits mailing list