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 f679b1a..0845f3d 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -22,7 +22,10 @@ merge:
done
$(NAME).pot:
- perl_checker -q --generate-pot $@ $(PL_FILES)
+ intltool-update --gettext-package desktopstuff --pot
+ perl_checker -q --generate-pot $(NAME)_tmp.pot $(PL_FILES)
+ [ ! -e $(NAME)_tmp.pot ] || msgcat --use-first $(NAME)_tmp.pot desktopstuff.pot > $@
+ rm -f desktopstuff.pot $(NAME)_tmp.pot
install: all
for l in $(LANGS); do \