summaryrefslogtreecommitdiff
path: root/gitk-git/Makefile
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2008-01-11 00:51:30 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-01-11 00:51:30 -0800
commit887ad79865d862a0a3aef4b59957d7dd95d0507d (patch)
tree0b9906aa1d1b3e8d1b07bf16226d00665254c395 /gitk-git/Makefile
parentpack-objects: remove redundant and wrong call to deflateEnd() (diff)
parentgitk: Update German translation. (diff)
downloadtgif-887ad79865d862a0a3aef4b59957d7dd95d0507d.tar.xz
Merge ../gitk
* ../gitk: gitk: Update German translation. gitk: Fix typo in user message. gitk: Fix the Makefile to cope with systems lacking msgfmt
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))