[fife] 11/25: Simplify debian/rules.
Markus Koschany
apo at moszumanska.debian.org
Mon Nov 7 20:31:25 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 045d16a8b348b6a67c0da8e1213f58b7b6ae715a
Author: Markus Koschany <apo at debian.org>
Date: Wed Sep 21 20:14:53 2016 +0200
Simplify debian/rules.
---
debian/rules | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/debian/rules b/debian/rules
index 394b4b6..dd07c33 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,16 +1,10 @@
#!/usr/bin/make -f
-ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
- NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
- SCONSOPTS += -j$(NUMJOBS)
-endif
-
%:
dh $@ --with python2
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 $@
@@ -21,14 +15,11 @@ override_dh_auto_build:
override_dh_auto_test:
python$* $(shell which scons) -C build-python$* tests $(SCONSOPTS)
-
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 {} \;
override_dh_auto_clean:
rm -fr build-python*
- rm -f debian/stamps/*
- rm -f build/gnukfreebsd10-config.py
dh_auto_clean
--
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