[blockattack] 12/32: Update debian/rules for new build system.
Markus Koschany
apo at moszumanska.debian.org
Sun Jun 5 18:57:41 UTC 2016
This is an automated email from the git hooks/post-receive script.
apo pushed a commit to branch master
in repository blockattack.
commit 8481fdbcbbaba4f1c7effd0999bf984f608e13b3
Author: Markus Koschany <apo at debian.org>
Date: Sun Jun 5 19:07:54 2016 +0200
Update debian/rules for new build system.
---
debian/rules | 20 ++++++--------------
1 file changed, 6 insertions(+), 14 deletions(-)
diff --git a/debian/rules b/debian/rules
index 08c253d..5a359a4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,28 +3,20 @@
#export DH_VERBOSE=1
%:
- dh $@
+ dh $@ --parallel
+
+override_dh_auto_configure:
+ dh_auto_configure -- \
+ -DCMAKE_BUILD_TYPE=Release
override_dh_auto_build:
+ dh_auto_build
cd man ; docbook-to-man blockattack.sgml | gzip -9 > blockattack.6.gz
cp debian/blockattack.desktop .
cp debian/icons/* .
latex source/manual/block_attack_manual.tex
dvipdfm block_attack_manual.dvi
- scons prefix=/usr sharedir=/usr/share/games/blockattack
./packdata.sh
-override_dh_auto_clean:
- scons -c
-
-override_dh_auto_install:
- dh_installdirs
- find Game -type f -exec chmod 644 {} \;
- scons prefix=/usr \
- bindir=/usr/games \
- mandir=/usr/share/man \
- sharedir=/usr/share/games/blockattack \
- destdir=$(CURDIR)/debian/blockattack install
-
get-orig-source:
uscan --download-current-version --force-download
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/blockattack.git
More information about the Pkg-games-commits
mailing list