[deng] 07/09: simplify debian/rules
Michael Gilbert
mgilbert at moszumanska.debian.org
Mon May 25 21:29:35 UTC 2015
This is an automated email from the git hooks/post-receive script.
mgilbert pushed a commit to branch master
in repository deng.
commit ab3b116cdf0e635bfbdd0f84df200ede2f56a162
Author: Michael Gilbert <mgilbert at debian.org>
Date: Mon May 25 21:17:09 2015 +0000
simplify debian/rules
---
debian/rules | 26 +++++++-------------------
1 file changed, 7 insertions(+), 19 deletions(-)
diff --git a/debian/rules b/debian/rules
index fd7fec8..1fe52bd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +1,13 @@
#!/usr/bin/make -f
-export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed -Wl,-z,defs
-DENG_BUILD = $(shell dpkg-parsechangelog | sed -n 's/^Version: //p')
+export DH_VERBOSE=1
-debian/doomsday.xpm: snowberry/graphics/snowberry.png
- convert $^ -resize 32x32 $@
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+
+export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed
%:
- dh $@ \
- --parallel \
- --sourcedirectory=doomsday
+ dh $@ --parallel --sourcedirectory=doomsday
override_dh_auto_configure:
dh_auto_configure -- \
@@ -17,15 +15,5 @@ override_dh_auto_configure:
CONFIG+=deng_fluidsynth \
CONFIG+=deng_nosnowberry \
CONFIG+=deng_notools \
- DENG_BUILD=$(DENG_BUILD) \
- DENG_BIN_DIR=/usr/games \
- DENG_LIB_DIR=/usr/lib/doomsday \
- DENG_PLUGIN_LIB_DIR=/usr/lib/doomsday/plugins \
- DENG_BASE_DIR=/usr/share/doomsday
-
-override_dh_auto_install:
- dh_auto_install
- rm -rf $(CURDIR)/debian/doomsday/etc/
-
-override_dh_makeshlibs:
- dh_makeshlibs --exclude=/usr/lib/doomsday
+ DENG_BUILD=$(shell dpkg-parsechangelog -S Version) \
+ DENG_LIB_DIR=/usr/lib/games/doomsday \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/deng.git
More information about the Pkg-games-commits
mailing list