aboutsummaryrefslogtreecommitdiff
path: root/gitk-git/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-01-11 00:51:30 -0800
committerJunio C Hamano <gitster@pobox.com>2008-01-11 00:51:30 -0800
commit887ad79865d862a0a3aef4b59957d7dd95d0507d (patch)
tree0b9906aa1d1b3e8d1b07bf16226d00665254c395 /gitk-git/Makefile
parent8c3c7b2adbac9d4fce1fcec0ca03cfb6535d5af3 (diff)
parent7d8856d091d3fd098643acb6157dfed376eddaea (diff)
downloadgit-887ad79865d862a0a3aef4b59957d7dd95d0507d.tar.gz
git-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 61585045b..ae2b80b10 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))