aboutsummaryrefslogtreecommitdiffstats
path: root/po/Makefile.in.in
diff options
context:
space:
mode:
authorAndrew Santosa <santosa_1999@yahoo.com>2018-05-15 03:01:53 +0000
committerAndrew Santosa <santosa_1999@yahoo.com>2018-05-15 03:01:53 +0000
commit5b7e7d82041218bc2b6ed0585ae1f6641e027669 (patch)
treeaf85ae13b64efb77b67e276eb51d883720f91356 /po/Makefile.in.in
parentUpdate ChangeLog (diff)
downloadw3m-5b7e7d82041218bc2b6ed0585ae1f6641e027669.tar.gz
w3m-5b7e7d82041218bc2b6ed0585ae1f6641e027669.zip
Added check for : command not producing .gmo file in po/Makefile.in.in
Diffstat (limited to '')
-rw-r--r--po/Makefile.in.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/po/Makefile.in.in b/po/Makefile.in.in
index ef8bd94..9d9691e 100644
--- a/po/Makefile.in.in
+++ b/po/Makefile.in.in
@@ -89,7 +89,7 @@ CATALOGS = @CATALOGS@
@lang=`echo $* | sed -e 's,.*/,,'`; \
test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \
- cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
+ cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && if [ x$(GMSGFMT) != x: ] ; then mv t-$${lang}.gmo $${lang}.gmo ; fi
.sin.sed:
sed -e '/^#/d' $< > t-$@