about summary refs log tree commit diff
path: root/third_party/git/git-gui/po/glossary/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/git-gui/po/glossary/Makefile')
-rw-r--r--third_party/git/git-gui/po/glossary/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/third_party/git/git-gui/po/glossary/Makefile b/third_party/git/git-gui/po/glossary/Makefile
new file mode 100644
index 000000000000..749aa2e7ec1b
--- /dev/null
+++ b/third_party/git/git-gui/po/glossary/Makefile
@@ -0,0 +1,9 @@
+PO_TEMPLATE = git-gui-glossary.pot
+
+ALL_POFILES = $(wildcard *.po)
+
+$(PO_TEMPLATE): $(subst .pot,.txt,$(PO_TEMPLATE))
+	./txt-to-pot.sh $< > $@
+
+update-po:: git-gui-glossary.pot
+	$(foreach p, $(ALL_POFILES), echo Updating $p ; msgmerge -U $p $(PO_TEMPLATE) ; )