[apparmor] [PATCH v2] make manpage release configurable

John Johansen john.johansen at canonical.com
Thu Nov 4 04:53:41 GMT 2010


On 11/03/2010 08:07 PM, Kees Cook wrote:
> Make the manpage release distro agnostic though configurable.
> 

ACK, here to, I should have read down further before replying

> -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=$@
> 
> 




More information about the AppArmor mailing list