summaryrefslogtreecommitdiffstats
path: root/po
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-10-12 16:47:43 +0100
committerColin Guthrie <colin@mageia.org>2013-10-12 17:44:09 +0100
commiteb8f6e900feccc2b7667289135f821438717ec8c (patch)
tree8f55d31bb65192ca7d56190aaf61f29eec6bed4f /po
parent6c4ae17acfb5159eeac92b92fdca112ca2ede4ec (diff)
downloadurpmi-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')
-rw-r--r--po/.gitignore1
-rw-r--r--po/Makefile15
-rw-r--r--po/POTFILES.in1
3 files changed, 10 insertions, 7 deletions
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