diff --git a/gitk-git/Makefile b/gitk-git/Makefile
index 61585045b765287a11c88987413c002f5596f908..ae2b80b1083c18c6b0a15959fee304b6c43b3792 100644 (file)
--- a/gitk-git/Makefile
+++ b/gitk-git/Makefile
## po-file creation rules
XGETTEXT ?= xgettext
-MSGFMT ?= msgfmt
+ifdef NO_MSGFMT
+ MSGFMT ?= $(TCL_PATH) po/po2msg.sh
+else
+ MSGFMT ?= msgfmt
+endif
+
PO_TEMPLATE = po/gitk.pot
ALL_POFILES = $(wildcard po/*.po)
ALL_MSGFILES = $(subst .po,.msg,$(ALL_POFILES))