diff options
author | Kir Kolyshkin <kir@openvz.org> | 2015-07-07 05:33:23 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-07-09 20:43:18 (GMT) |
commit | 4caa5cda2c8bfe57f5b099a61d6ee4a204bfa662 (patch) | |
tree | c6c3e51a283abd92f6c48971e82e54bbdd2eefc8 | |
parent | 60ac492058e0d0b9d90c3e3389b7fc56903583dc (diff) | |
download | libnl-4caa5cda2c8bfe57f5b099a61d6ee4a204bfa662.zip libnl-4caa5cda2c8bfe57f5b099a61d6ee4a204bfa662.tar.gz libnl-4caa5cda2c8bfe57f5b099a61d6ee4a204bfa662.tar.bz2 |
doc/Makefile.am: don't use asciidoc if disabled
In case doc/configure.ac hasn't found asciidoc or any of its
prerequisites (such as pygmentize), make shouldn't try to run it.
One such case ("gendoc" target) is covered while the other
("%.html" target) is not. Fix it by adding a proper ifdef.
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
-rw-r--r-- | doc/Makefile.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index 338f077..7e1fbe9 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -41,12 +41,16 @@ endif %.html: %.txt link_doc +if HAVE_ASCIIDOC ./resolve-asciidoc-refs.py $< > asciidoc.tmp asciidoc $(ASCIIDOCOPTS) -o $@ asciidoc.tmp if LINK_DOC ./doxygen-link.py libnl.dict $@ > asciidoc.tmp mv asciidoc.tmp $@ endif +else + @echo "Warning: Building of asciidoc files is disabled, check autoconf logs" +endif asciidoc: core.html route.html index.html |