From eb8f6e900feccc2b7667289135f821438717ec8c Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Sat, 12 Oct 2013 16:47:43 +0100 Subject: Use polkit for authorisation (mga#11125) --- po/.gitignore | 1 + po/Makefile | 15 +++++++++------ po/POTFILES.in | 1 - 3 files changed, 10 insertions(+), 7 deletions(-) create mode 100644 po/.gitignore delete mode 100644 po/POTFILES.in (limited to 'po') diff --git a/po/.gitignore b/po/.gitignore new file mode 100644 index 00000000..0d91a622 --- /dev/null +++ b/po/.gitignore @@ -0,0 +1 @@ +POTFILES.in 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: diff --git a/po/POTFILES.in b/po/POTFILES.in deleted file mode 100644 index 13ff90f9..00000000 --- a/po/POTFILES.in +++ /dev/null @@ -1 +0,0 @@ -gurpmi.desktop.in -- cgit v1.2.1