From 3ff29d2e4bfb51c5f5474ca59ec37279f9a5fd7a Mon Sep 17 00:00:00 2001 From: Jamie Strandboge Date: Wed, 11 Apr 2012 11:16:47 -0500 Subject: [PATCH] Attached is a patch to add --stderr to the common rules for generating manpages (and adjust it so that it's one rule instead of eight). It also fixes the above problem and a similar problem in the aa-exec manpage. Acked-By: Steve Beattie Acked-By: Jamie Strandboge --- common/Make.rules | 25 ++----------------------- utils/aa-exec.pod | 2 ++ 2 files changed, 4 insertions(+), 23 deletions(-) diff --git a/common/Make.rules b/common/Make.rules index 75bcae280..d011605e9 100644 --- a/common/Make.rules +++ b/common/Make.rules @@ -206,29 +206,8 @@ install_manpages: $(MANPAGES) MAN_RELEASE="AppArmor ${VERSION}" -%.1: %.pod - $(POD2MAN) $< --release=$(MAN_RELEASE) --center=AppArmor --section=1 > $@ - -%.2: %.pod - $(POD2MAN) $< --release=$(MAN_RELEASE) --center=AppArmor --section=2 > $@ - -%.3: %.pod - $(POD2MAN) $< --release=$(MAN_RELEASE) --center=AppArmor --section=3 > $@ - -%.4: %.pod - $(POD2MAN) $< --release=$(MAN_RELEASE) --center=AppArmor --section=4 > $@ - -%.5: %.pod - $(POD2MAN) $< --release=$(MAN_RELEASE) --center=AppArmor --section=5 > $@ - -%.6: %.pod - $(POD2MAN) $< --release=$(MAN_RELEASE) --center=AppArmor --section=6 > $@ - -%.7: %.pod - $(POD2MAN) $< --release=$(MAN_RELEASE) --center=AppArmor --section=7 > $@ - -%.8: %.pod - $(POD2MAN) $< --release=$(MAN_RELEASE) --center=AppArmor --section=8 > $@ +%.1 %.2 %.3 %.4 %.5 %.6 %.7 %.8: %.pod + $(POD2MAN) $< --release=$(MAN_RELEASE) --center=AppArmor --stderr --section=$(subst .,,$(suffix $@)) > $@ %.1.html: %.pod $(POD2HTML) --header --css apparmor.css --infile=$< --outfile=$@ diff --git a/utils/aa-exec.pod b/utils/aa-exec.pod index 496468cfe..84f96ba92 100644 --- a/utils/aa-exec.pod +++ b/utils/aa-exec.pod @@ -82,6 +82,8 @@ arguments after the -- are treated as arguments of the command. This is useful when passing arguments to the IcommandE> being invoked by aa-exec. +=back + =head1 BUGS If you find any bugs, please report them at