summaryrefslogtreecommitdiff
path: root/git-gui/po/glossary/Makefile
blob: 749aa2e7ec1b02e6af3427516b1197f77bd48795 (plain)
1
2
3
4
5
6
7
8
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) ; )