From: Jean-Philippe Orsini Date: Sat, 2 Aug 2014 20:02:09 +0000 (+0200) Subject: do not regenerate html file if asciidoc not installed X-Git-Tag: v1.1.1~36 X-Git-Url: https://git.wpitchoune.net/gitweb/?a=commitdiff_plain;h=1498de115755fbe0b2af447f0a2c195b54a2d9fb;hp=3d1802083bd3ffda1c18db549aa6e42db299c12a;p=psensor.git do not regenerate html file if asciidoc not installed --- diff --git a/doc/Makefile.am b/doc/Makefile.am index ff17802..8157c8e 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,4 +1,6 @@ dist_doc_DATA = faq.html faq.txt +if ASCIIDOC faq.html: faq.txt ../www/style.css - asciidoc --theme style -a themedir=`pwd`/../www -n -a toc faq.txt \ No newline at end of file + asciidoc --theme style -a themedir=`pwd`/../www -n -a toc faq.txt +endif