about summary refs log tree commit diff
path: root/git-gui/po/glossary/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'git-gui/po/glossary/Makefile')
-rw-r--r--git-gui/po/glossary/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/git-gui/po/glossary/Makefile b/git-gui/po/glossary/Makefile
new file mode 100644
index 000000000000..749aa2e7ec1b
--- /dev/null
+++ b/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) ; )