[apparmor] [PATCH v2] make manpage release configurable
Kees Cook
kees at ubuntu.com
Thu Nov 4 00:07:24 GMT 2010
Make the manpage release distro agnostic though configurable.
-Kees
=== modified file 'common/Make.rules'
--- common/Make.rules 2010-11-04 00:03:52 +0000
+++ common/Make.rules 2010-11-04 00:06:28 +0000
@@ -171,29 +171,31 @@
install -m 644 $(filter %.${dir}, ${MANPAGES}) ${DESTDIR}/${MANDIR}/man${dir}; \
)
+MAN_RELEASE="AppArmor"
+
%.1: %.pod
- $(POD2MAN) $< --release=NOVELL/SUSE --center=AppArmor --section=1 > $@
+ $(POD2MAN) $< --release=$(MAN_RELEASE) --center=AppArmor --section=1 > $@
%.2: %.pod
- $(POD2MAN) $< --release=NOVELL/SUSE --center=AppArmor --section=2 > $@
+ $(POD2MAN) $< --release=$(MAN_RELEASE) --center=AppArmor --section=2 > $@
%.3: %.pod
- $(POD2MAN) $< --release=NOVELL/SUSE --center=AppArmor --section=3 > $@
+ $(POD2MAN) $< --release=$(MAN_RELEASE) --center=AppArmor --section=3 > $@
%.4: %.pod
- $(POD2MAN) $< --release=NOVELL/SUSE --center=AppArmor --section=4 > $@
+ $(POD2MAN) $< --release=$(MAN_RELEASE) --center=AppArmor --section=4 > $@
%.5: %.pod
- $(POD2MAN) $< --release=NOVELL/SUSE --center=AppArmor --section=5 > $@
+ $(POD2MAN) $< --release=$(MAN_RELEASE) --center=AppArmor --section=5 > $@
%.6: %.pod
- $(POD2MAN) $< --release=NOVELL/SUSE --center=AppArmor --section=6 > $@
+ $(POD2MAN) $< --release=$(MAN_RELEASE) --center=AppArmor --section=6 > $@
%.7: %.pod
- $(POD2MAN) $< --release=NOVELL/SUSE --center=AppArmor --section=7 > $@
+ $(POD2MAN) $< --release=$(MAN_RELEASE) --center=AppArmor --section=7 > $@
%.8: %.pod
- $(POD2MAN) $< --release=NOVELL/SUSE --center=AppArmor --section=8 > $@
+ $(POD2MAN) $< --release=$(MAN_RELEASE) --center=AppArmor --section=8 > $@
%.1.html: %.pod
$(POD2HTML) --header --css apparmor.css --infile=$< --outfile=$@
--
Kees Cook
Ubuntu Security Team
More information about the AppArmor
mailing list