]> asedeno.scripts.mit.edu Git - git.git/blobdiff - gitk-git/Makefile
Merge git://repo.or.cz/git-gui
[git.git] / gitk-git / Makefile
index 61585045b765287a11c88987413c002f5596f908..ae2b80b1083c18c6b0a15959fee304b6c43b3792 100644 (file)
@@ -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))