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} - $(MAKE) -C po ${NAME}.pot NAME=${NAME} SOURCES="${TOOLS} ${MODULES}" + $(MAKE) -C po ${NAME}.pot NAME=${NAME} SOURCES="${TOOLS} ${PYMODULES}" .PHONY: install install: ${MANPAGES} ${HTMLMANPAGES} @@ -92,7 +93,7 @@ check_severity_db: /usr/include/linux/ca .PHONY: check .SILENT: check check: check_severity_db - for i in ${MODULES} ${PERLTOOLS} ; do \ + for i in ${PERLTOOLS} ; do \ perl -c $$i || exit 1; \ done tmpfile=$$(mktemp --tmpdir aa-pyflakes-XXXXXX); \ -- Steve Beattie <[email protected]> http://NxNW.org/~steve/
signature.asc
Description: Digital signature
-- AppArmor mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
