summaryrefslogtreecommitdiff
path: root/gitk-git/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gitk-git/Makefile')
-rw-r--r--gitk-git/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/gitk-git/Makefile b/gitk-git/Makefile
index 61585045b7..ae2b80b108 100644
--- a/gitk-git/Makefile
+++ b/gitk-git/Makefile
@@ -18,7 +18,12 @@ TCLTK_PATH_SQ = $(subst ','\'',$(TCLTK_PATH))
## 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))