summaryrefslogtreecommitdiffstats
path: root/install/po/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'install/po/Makefile.in')
-rw-r--r--install/po/Makefile.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/install/po/Makefile.in b/install/po/Makefile.in
index d65ba0c7..9a3dde78 100644
--- a/install/po/Makefile.in
+++ b/install/po/Makefile.in
@@ -160,7 +160,7 @@ install: $(mo_files)
done
mostlyclean:
- rm -rf *.mo test.po test_locale
+ rm -rf *.mo test.po test_locale tmp.pot
rm -f $(DOMAIN).pot.update $(DOMAIN).pot.update.tmp $(DOMAIN).pot.tmp
clean: mostlyclean
@@ -179,6 +179,14 @@ validate-pot:
validate-po:
$(IPA_TEST_I18N) --show-strings --validate-po $(po_files)
+validate-src-strings:
+ @rm -f tmp.pot
+ @touch tmp.pot
+ @$(MAKE) DOMAIN=tmp update-pot; \
+ status=$$?; \
+ rm tmp.pot; \
+ exit $$status
+
debug:
@echo Python potfiles:
@echo PY_FILES = $(PY_FILES)