1 PO_TEMPLATE
= git-gui-glossary.pot
3 ALL_POFILES
= $(wildcard *.po
)
5 $(PO_TEMPLATE
): $(subst .pot
,.txt
,$(PO_TEMPLATE
))
6 .
/txt-to-pot.sh
$< > $@
8 update-po
:: git-gui-glossary.pot
9 $(foreach p
, $(ALL_POFILES
), echo Updating
$p ; msgmerge
-U
$p $(PO_TEMPLATE
) ; )