summaryrefslogtreecommitdiffstats
path: root/po
diff options
context:
space:
mode:
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