[Pkg-cron-devel] [pkg-cron] 08/19: rules: Extend documentation
Christian Kastner
chrisk-guest at moszumanska.debian.org
Fri Oct 10 15:18:40 UTC 2014
This is an automated email from the git hooks/post-receive script.
chrisk-guest pushed a commit to branch ckk/cron-125
in repository pkg-cron.
commit 108edac6fbcf0ae967464b265f57ea4be07d891c
Author: Christian Kastner <debian at kvr.at>
Date: Wed Oct 8 23:17:50 2014 +0200
rules: Extend documentation
---
debian/rules | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 0ccba3f..87c3ed3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,12 @@
#!/usr/bin/make -f
# -*- makefile -*-
+# The package build supports three optional features. To enable/disable them,
+# modify DEB_BUILD_OPTIONS accordingly:
+# * PAM support default: ON disable: DEB_BUILD_OPTIONS=nopam
+# * SELinux support default: ON disable: DEB_BUILD_OPTIONS=noselinux
+# * audit support default: OFF enable: DEB_BUILD_OPTIONS=withaudit
+#
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
@@ -8,6 +14,7 @@
# Set system type (Linux, HURD, etc.)
DEB_HOST_ARCH_OS = $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+# Enable cross-compiling support
DEB_HOST_GNU_TYPE = $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE = $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
@@ -40,13 +47,14 @@ ifeq (,$(findstring noselinux,$(DEB_BUILD_OPTIONS)))
SELINUX_LIBS = -lselinux
export SELINUX_DEFS SELINUX_LIBS
endif
+
# audit is disabled by default
ifneq (,$(findstring withaudit,$(DEB_BUILD_OPTIONS)))
AUDIT_DEFS = -DWITH_AUDIT
AUDIT_LIBS = -laudit
export AUDIT_DEFS AUDIT_LIBS
endif
-endif
+endif # Linux
%:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cron/pkg-cron.git
More information about the Pkg-cron-devel
mailing list