aboutsummaryrefslogtreecommitdiff
path: root/doc/Makefile.am
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2010-03-01 03:17:48 +0100
committerSebastian Hahn <sebastian@torproject.org>2010-03-01 05:02:27 +0100
commit4db5e7ae7698393552c34d2c28180bbefa87fd62 (patch)
tree1b47dcd25ff08f43cea1bc6564219d372106e677 /doc/Makefile.am
parent0cd1b499b46fa112e0d81e467a0d07f79e04bbdb (diff)
downloadtor-4db5e7ae7698393552c34d2c28180bbefa87fd62.tar
tor-4db5e7ae7698393552c34d2c28180bbefa87fd62.tar.gz
Add configure switch to disable use of asciidoc
Also break the build if that switch isn't used and asciidoc isn't available.
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index dbc44f0fb..e7edb0476 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -13,7 +13,11 @@
# part of the source distribution, so that people without asciidoc can
# just use the .1 and .html files.
+if USE_ASCIIDOC
asciidoc_files = tor tor-gencert tor-resolve torify
+else
+asciidoc_files =
+endif
html_in = $(asciidoc_files:=.html.in)