[iortcw] 01/06: apparmor: don't try to run dh_apparmor on non-Linux ports
Simon McVittie
smcv at debian.org
Mon Mar 21 09:23:09 UTC 2016
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch master
in repository iortcw.
commit 147816afeb2baafb96cef2f3538a055c4299d26e
Author: Simon McVittie <smcv at debian.org>
Date: Thu Mar 10 07:45:52 2016 +0000
apparmor: don't try to run dh_apparmor on non-Linux ports
---
debian/changelog | 1 +
debian/rules | 2 ++
2 files changed, 3 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index b284b7c..4459e07 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ iortcw (1.42d+dfsg1-2) UNRELEASED; urgency=medium
* apparmor: add a child profile for the "safe mode" popups (tested
with xmessage and zenity - kdialog will probably need more rules)
+ * apparmor: don't try to run dh_apparmor on non-Linux ports
-- Simon McVittie <smcv at debian.org> Tue, 08 Mar 2016 09:10:46 +0000
diff --git a/debian/rules b/debian/rules
index b227075..99e209a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -72,10 +72,12 @@ override_dh_auto_build:
chmod +x debian/scripts/wolfmp
chmod +x debian/scripts/wolfded
+ifeq ($(DEB_HOST_ARCH_OS),linux)
override_dh_install-arch:
dh_install -a
dh_apparmor -prtcw --profile-name=usr.lib.rtcw
dh_apparmor -prtcw-server --profile-name=usr.lib.rtcw.iowolfded
+endif
override_dh_strip:
dh_strip --dbg-package=rtcw-dbg
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git
More information about the Pkg-games-commits
mailing list