aboutsummaryrefslogtreecommitdiffstats
path: root/po
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2018-05-20 11:02:46 +0000
committerGitHub <noreply@github.com>2018-05-20 11:02:46 +0000
commitdbe0bc2430e19d1208cbd648420301a2d3f892a3 (patch)
treeaf85ae13b64efb77b67e276eb51d883720f91356 /po
parentUpdate ChangeLog (diff)
parentAdded check for : command not producing .gmo file in po/Makefile.in.in (diff)
downloadw3m-dbe0bc2430e19d1208cbd648420301a2d3f892a3.tar.gz
w3m-dbe0bc2430e19d1208cbd648420301a2d3f892a3.zip
Merge pull request #99 from domainexpert/noop-check
Added check for : command not producing .gmo file in po/Makefile.in.in
Diffstat (limited to 'po')
-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-$@