mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-29 21:38:15 +00:00
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 <sbeattie@ubuntu.com> Acked-By: Jamie Strandboge <jamie@canonical.com>
This commit is contained in:
parent
24e46508d5
commit
3ff29d2e4b
@ -206,29 +206,8 @@ install_manpages: $(MANPAGES)
|
|||||||
|
|
||||||
MAN_RELEASE="AppArmor ${VERSION}"
|
MAN_RELEASE="AppArmor ${VERSION}"
|
||||||
|
|
||||||
%.1: %.pod
|
%.1 %.2 %.3 %.4 %.5 %.6 %.7 %.8: %.pod
|
||||||
$(POD2MAN) $< --release=$(MAN_RELEASE) --center=AppArmor --section=1 > $@
|
$(POD2MAN) $< --release=$(MAN_RELEASE) --center=AppArmor --stderr --section=$(subst .,,$(suffix $@)) > $@
|
||||||
|
|
||||||
%.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.html: %.pod
|
%.1.html: %.pod
|
||||||
$(POD2HTML) --header --css apparmor.css --infile=$< --outfile=$@
|
$(POD2HTML) --header --css apparmor.css --infile=$< --outfile=$@
|
||||||
|
@ -82,6 +82,8 @@ arguments after the -- are treated as arguments of the command. This is
|
|||||||
useful when passing arguments to the I<E<lt>commandE<gt>> being invoked by
|
useful when passing arguments to the I<E<lt>commandE<gt>> being invoked by
|
||||||
aa-exec.
|
aa-exec.
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
=head1 BUGS
|
=head1 BUGS
|
||||||
|
|
||||||
If you find any bugs, please report them at
|
If you find any bugs, please report them at
|
||||||
|
Loading…
x
Reference in New Issue
Block a user