mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
utils: search python modules for translatable strings
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 <steve@nxnw.org> Acked-by: Christian Boltz <apparmor@cboltz.de>
This commit is contained in:
parent
70119a81d8
commit
2f54f0d97a
1 changed files with 4 additions and 3 deletions
|
@ -32,6 +32,7 @@ PYTOOLS = aa-easyprof aa-genprof aa-logprof aa-cleanprof aa-mergeprof \
|
|||
aa-status aa-unconfined
|
||||
TOOLS = ${PERLTOOLS} ${PYTOOLS} aa-decode
|
||||
PYSETUP = python-tools-setup.py
|
||||
PYMODULES = $(wildcard apparmor/*.py)
|
||||
|
||||
MANPAGES = ${TOOLS:=.8} logprof.conf.5
|
||||
|
||||
|
@ -45,8 +46,8 @@ BINDIR=${DESTDIR}/usr/sbin
|
|||
CONFDIR=${DESTDIR}/etc/apparmor
|
||||
PYPREFIX=/usr
|
||||
|
||||
po/${NAME}.pot: ${TOOLS}
|
||||
$(MAKE) -C po ${NAME}.pot NAME=${NAME} SOURCES="${TOOLS} ${MODULES}"
|
||||
po/${NAME}.pot: ${TOOLS} ${PYMODULES}
|
||||
$(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/capability.h severity.db
|
|||
.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); \
|
||||
|
|
Loading…
Add table
Reference in a new issue