From: Miroslav Lichvar Date: Fri, 21 Jun 2013 13:32:38 +0000 (+0200) Subject: Use texi2html only if it's available X-Git-Tag: 1.28-pre1~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac78ad60f36bc6aae2edd92216c0848302f27b6f;p=thirdparty%2Fchrony.git Use texi2html only if it's available --- diff --git a/Makefile.in b/Makefile.in index a8b20ce5..ecb036c8 100644 --- a/Makefile.in +++ b/Makefile.in @@ -145,7 +145,8 @@ chrony.txt : chrony.texi makeinfo --no-headers --number-sections -o chrony.txt chrony.texi chrony.html : chrony.texi - texi2html chrony.texi + command -v texi2html > /dev/null 2>&1 && texi2html chrony.texi || \ + makeinfo --no-split --html --number-sections -o chrony.html chrony.texi chrony.info : chrony.texi makeinfo chrony.texi