Fallback to pod2man without utf-8 on error

* doc/Makefile.am: Fallback to pod2man without utf-8 on error
This commit is contained in:
Tim Rühsen 2016-05-27 16:44:50 +02:00
parent 5224d752a5
commit 302aa79abb

View File

@ -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 $? > $@