Hello,

Am Dienstag, 9. September 2014 schrieb Steve Beattie:
> In the conversion from perl to python, it got overlooked to add the
> python-apparmor modules to the set of things to search for
> translatable strings in. This patch addresses the issue.
> 
> Signed-off-by: Steve Beattie <[email protected]>
> ---
>  utils/Makefile |    5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> Index: b/utils/Makefile
> ===================================================================
> --- a/utils/Makefile
> +++ b/utils/Makefile
> @@ -32,6 +32,7 @@ PYTOOLS = aa-easyprof aa-genprof aa-logp
>         aa-status aa-unconfined
>  TOOLS = ${PERLTOOLS} ${PYTOOLS} aa-decode
>  PYSETUP = python-tools-setup.py
> +PYMODULES = $(wildcard apparmor/*.py)
> 
>  MANPAGES = ${TOOLS:=.8} logprof.conf.5
> 
> @@ -46,7 +47,7 @@ CONFDIR=${DESTDIR}/etc/apparmor
>  PYPREFIX=/usr
> 
>  po/${NAME}.pot: ${TOOLS}

po/${NAME}.pot should also depend on PYMODULES - please change the line 
to:

po/${NAME}.pot: ${TOOLS} ${PYMODULES}

> -     $(MAKE) -C po ${NAME}.pot NAME=${NAME} SOURCES="${TOOLS} 
${MODULES}"
> +     $(MAKE) -C po ${NAME}.pot NAME=${NAME} SOURCES="${TOOLS}
> ${PYMODULES}"

With the above change,
Acked-by: Christian Boltz <[email protected]>


Regards,

Christian Boltz
-- 
What? You mean you don't install betas on production machines? 
Come on Carlos, where's your sense of adventure? ;-)
[Mike in opensuse-factory]


-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to