Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-gui: Fallback to Tcl based po2msg.sh if msgfmt isn't available
[gitweb.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 1baf4b086131a10ab7e33529274ebd15100f375e..5f1023e35fa2733d7f7ebd2b0a28623c2d77fae2 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-198,6
+198,9
@@
ifdef NO_MSGFMT
MSGFMT ?= $(TCL_PATH) po/po2msg.sh
else
MSGFMT ?= msgfmt
+ ifeq ($(shell $(MSGFMT) >/dev/null 2>&1 || echo $$?),127)
+ MSGFMT := $(TCL_PATH) po/po2msg.sh
+ endif
endif
msgsdir = $(gg_libdir)/msgs