aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-01-20 23:28:32 -0500
committerSebastian Hahn <sebastian@torproject.org>2010-01-27 12:19:58 +0100
commite407c1adabfa75204d7f68dd66bbb437ea252f25 (patch)
treebb9c70dc2a7816f8105947934e7ebfd0a6345cc4 /doc
parent0c81d4c62b9f18f6b4ee44e9e2552b7e9911fb51 (diff)
downloadtor-e407c1adabfa75204d7f68dd66bbb437ea252f25.tar
tor-e407c1adabfa75204d7f68dd66bbb437ea252f25.tar.gz
Add a comment explaining the doc build system
Updated a little by Sebastian
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 8619c6f94..240646b85 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,3 +1,18 @@
+
+# We use a two-step process to generate documentation from asciidoc files.
+#
+# First, we use asciidoc/a2x to process the asciidoc files into .1.in and
+# .html.in files (see the asciidoc-helper.sh script). These are the same as
+# the regular .1 and .html files, except that they still have some autoconf
+# variables set in them.
+#
+# Second, we use config.status to turn .1.in files into .1 files and
+# .html.in files into .html files.
+#
+# We do the steps in this order so that we can ship the .*.in files as
+# part of the source distribution, so that people without asciidoc can
+# just use the .1 and .html files.
+
asciidoc_files = tor tor-gencert tor-resolve torify
html_in = $(asciidoc_files:=.html.in)