>From 302aa79abb17a2b621e2191723e5e2cf3ebc5dbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Fri, 27 May 2016 16:44:50 +0200 Subject: [PATCH] Fallback to pod2man without utf-8 on error * doc/Makefile.am: Fallback to pod2man without utf-8 on error --- doc/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index 5675d09..6fd4ad9 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -57,7 +57,10 @@ wget.pod: $(srcdir)/wget.texi version.texi $(TEXI2POD) -D VERSION="$(VERSION)" $(srcdir)/wget.texi $@ $(MAN): wget.pod - $(POD2MAN) --center="GNU Wget" --release="GNU Wget @VERSION@" --utf8 $? > $@ + $(POD2MAN) --center="GNU Wget" --release="GNU Wget @VERSION@" --utf8 $? > $@; \ + if [ $? != 0 ]; then \ + $(POD2MAN) --center="GNU Wget" --release="GNU Wget @VERSION@" $? > $@; \ + fi #wget.cat: $(MAN) # nroff -man $? > $@ -- 2.8.1