2010-01-19 14:51:10 +01:00
|
|
|
asciidoc_files = tor-gencert tor-resolve torify
|
2010-01-18 22:15:38 +01:00
|
|
|
|
|
|
|
html_in = $(asciidoc_files:=.html.in)
|
|
|
|
|
|
|
|
man_in = $(asciidoc_files:=.1.in)
|
2006-03-31 06:23:41 +02:00
|
|
|
|
2010-01-18 08:47:37 +01:00
|
|
|
EXTRA_DIST = HACKING \
|
2010-01-18 22:15:38 +01:00
|
|
|
$(html_in) $(man_in) $(asciidoc_files:=.1.txt) \
|
2006-10-07 03:37:23 +02:00
|
|
|
tor-osx-dmg-creation.txt tor-rpm-creation.txt \
|
2010-01-19 04:35:04 +01:00
|
|
|
tor-win32-mingw-creation.txt
|
2003-10-07 18:30:05 +02:00
|
|
|
|
2010-01-19 14:51:10 +01:00
|
|
|
nodist_man_MANS = tor.1 $(asciidoc_files:=.1)
|
2010-01-18 22:15:38 +01:00
|
|
|
|
|
|
|
doc_DATA = $(asciidoc_files:=.html)
|
|
|
|
|
|
|
|
asciidoc_product = $(nodist_man_MANS) $(doc_DATA)
|
2004-08-06 21:54:29 +02:00
|
|
|
|
2007-01-26 02:59:50 +01:00
|
|
|
SUBDIRS = design-paper spec
|
2004-08-06 21:54:29 +02:00
|
|
|
|
2007-01-26 10:12:52 +01:00
|
|
|
DIST_SUBDIRS = design-paper spec
|
2006-03-31 06:23:41 +02:00
|
|
|
|
2010-01-18 22:15:38 +01:00
|
|
|
# Generate the html documentation from asciidoc, but don't do
|
|
|
|
# machine-specific replacements yet
|
|
|
|
$(html_in) :
|
|
|
|
$(top_srcdir)/doc/asciidoc-helper.sh html @ASCIIDOC@ @SED@ $@
|
|
|
|
|
2010-01-19 04:35:04 +01:00
|
|
|
torify.html.in : torify.1.txt
|
2010-01-18 08:42:48 +01:00
|
|
|
tor-gencert.html.in : tor-gencert.1.txt
|
2010-01-19 14:51:10 +01:00
|
|
|
tor-resolve.html.in : tor-resolve.1.txt
|
2010-01-18 08:42:48 +01:00
|
|
|
|
2010-01-18 22:15:38 +01:00
|
|
|
# Generate the manpage from asciidoc, but don't do
|
|
|
|
# machine-specific replacements yet
|
|
|
|
$(man_in) :
|
|
|
|
$(top_srcdir)/doc/asciidoc-helper.sh man @A2X@ @SED@ $@
|
|
|
|
|
2010-01-19 04:35:04 +01:00
|
|
|
torify.1.in : torify.1.txt
|
2010-01-18 08:42:48 +01:00
|
|
|
tor-gencert.1.in : tor-gencert.1.txt
|
2010-01-19 14:51:10 +01:00
|
|
|
tor-resolve.1.in : tor-resolve.1.txt
|
2010-01-18 08:42:48 +01:00
|
|
|
|
2010-01-18 22:15:38 +01:00
|
|
|
# use ../config.status to swap all machine-specific magic strings
|
|
|
|
# in the asciidoc with their replacements.
|
|
|
|
$(asciidoc_product) :
|
|
|
|
../config.status --file=$@;
|
2010-01-18 08:42:48 +01:00
|
|
|
|
2010-01-19 04:35:04 +01:00
|
|
|
torify.1 : torify.1.in
|
2010-01-18 08:42:48 +01:00
|
|
|
tor-gencert.1 : tor-gencert.1.in
|
2010-01-19 14:51:10 +01:00
|
|
|
tor-resolve.1 : tor-resolve.1.in
|
2010-01-19 04:35:04 +01:00
|
|
|
torify.html : torify.html.in
|
2010-01-18 08:42:48 +01:00
|
|
|
tor-gencert.html : tor-gencert.html.in
|
2010-01-19 14:51:10 +01:00
|
|
|
tor-resolve.html : tor-resolve.html.in
|