[apparmor] [PATCH v2] make manpage release configurable

Steve Beattie steve at nxnw.org
Thu Nov 4 17:56:48 GMT 2010


On Wed, Nov 03, 2010 at 05:07:24PM -0700, Kees Cook wrote:
> Make the manpage release distro agnostic though configurable.

> === 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"

Either that, or

+MAN_RELEASE="AppArmor ${VERSION}"

is fine with me.

> +
>  %.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=$@
> 

-- 
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/apparmor/attachments/20101104/f235c73b/attachment.pgp 


More information about the AppArmor mailing list