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