summaryrefslogtreecommitdiffstats
path: root/po/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'po/Makefile')
-rw-r--r--po/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/po/Makefile b/po/Makefile
index 48147641..b3a57d38 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -33,7 +33,10 @@ clean:
%.mo: %.po
msgfmt -o $@ $<
-$(PGOAL).pot: $(PL_FILES)
+POTFILES.in:
+ (cd .. ; /bin/ls data/*.desktop.in data/*.directory.in) > POTFILES.in
+
+$(PGOAL).pot: $(PL_FILES) POTFILES.in
intltool-update --gettext-package desktopstuff --pot
perl_checker -q --generate-pot $(PGOAL)_tmp.pot $(PL_FILES)
# OLD_PO_FILE_OUTPUT=1 is needed to ignore non-ascii strings