From ac78ad60f36bc6aae2edd92216c0848302f27b6f Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Fri, 21 Jun 2013 15:32:38 +0200 Subject: [PATCH] Use texi2html only if it's available --- Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index a8b20ce..ecb036c 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