diff options
Diffstat (limited to 'po')
-rw-r--r-- | po/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/po/Makefile b/po/Makefile index 8b2e62b..efcf69b 100644 --- a/po/Makefile +++ b/po/Makefile @@ -20,13 +20,19 @@ install: all done clean: - rm -f *~ *.[oas] *.mo $(POTFILE) $(MOFILES) TAGS + rm -f *~ *.[oas] *.mo $(POTFILE) POTFILES.in $(MOFILES) TAGS %.mo: %.po msgfmt -o $@ $< -$(POTFILE): $(PL_FILES) - perl_checker -q --generate-pot $@ $(PL_FILES) +$(POTFILE): $(PL_FILES) POTFILES.in + intltool-update --gettext-package non-perl --pot + perl_checker -q --generate-pot .$@ $(PL_FILES) + msgcat -w 2048 --use-first .$@ non-perl.pot > $@ + rm -f non-perl.pot ..$@ .$@ + +POTFILES.in: + (cd .. ; /bin/ls -1 polkit/policy/*.policy.in; ) > POTFILES.in update_n_merge: $(POTFILE) merge |