Use texi2html only if it's available

This commit is contained in:
Miroslav Lichvar 2013-06-21 15:32:38 +02:00
parent 42d7cf8922
commit ac78ad60f3

View file

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