diff options
author | Colin Guthrie <colin@mageia.org> | 2013-10-12 16:47:43 +0100 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2013-10-12 17:44:09 +0100 |
commit | eb8f6e900feccc2b7667289135f821438717ec8c (patch) | |
tree | 8f55d31bb65192ca7d56190aaf61f29eec6bed4f /po/Makefile | |
parent | 6c4ae17acfb5159eeac92b92fdca112ca2ede4ec (diff) | |
download | urpmi-eb8f6e900feccc2b7667289135f821438717ec8c.tar urpmi-eb8f6e900feccc2b7667289135f821438717ec8c.tar.gz urpmi-eb8f6e900feccc2b7667289135f821438717ec8c.tar.bz2 urpmi-eb8f6e900feccc2b7667289135f821438717ec8c.tar.xz urpmi-eb8f6e900feccc2b7667289135f821438717ec8c.zip |
Use polkit for authorisation (mga#11125)
Diffstat (limited to 'po/Makefile')
-rw-r--r-- | po/Makefile | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/po/Makefile b/po/Makefile index facf804a..ac5fc0f8 100644 --- a/po/Makefile +++ b/po/Makefile @@ -30,11 +30,14 @@ merge: mv -f "$$n"t "$$n"; \ done -$(PGOAL).pot: $(PL_FILES) - intltool-update --gettext-package desktopstuff --pot - perl_checker -q --generate-pot $(PGOAL)_tmp.pot $(PL_FILES) - [ ! -e $(PGOAL)_tmp.pot ] || msgcat --use-first $(PGOAL)_tmp.pot desktopstuff.pot > $@ - rm -f desktopstuff.pot $(PGOAL)_tmp.pot +$(PGOAL).pot: $(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 *.desktop.in polkit/*.policy.in; ) > POTFILES.in install: all for l in $(LANGS); do \ @@ -43,7 +46,7 @@ install: all done clean: - @rm -rf *~ *.mo $(GOALS) $(PGOAL)_tmp.pot + @rm -rf *~ *.mo $(GOALS) $(PGOAL)_tmp.pot POTFILES.in test: |