Makefile.am 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. asciidoc_files = tor-gencert
  2. html_in = $(asciidoc_files:=.html.in)
  3. man_in = $(asciidoc_files:=.1.in)
  4. EXTRA_DIST = HACKING \
  5. tor-resolve.1 tor-gencert.1 \
  6. $(html_in) $(man_in) $(asciidoc_files:=.1.txt) \
  7. tor-osx-dmg-creation.txt tor-rpm-creation.txt \
  8. tor-win32-mingw-creation.txt torify.1
  9. nodist_man_MANS = tor.1 tor-resolve.1 tor-gencert.1 torify.1 $(asciidoc_files:=.1)
  10. doc_DATA = $(asciidoc_files:=.html)
  11. asciidoc_product = $(nodist_man_MANS) $(doc_DATA)
  12. SUBDIRS = design-paper spec
  13. DIST_SUBDIRS = design-paper spec
  14. # Generate the html documentation from asciidoc, but don't do
  15. # machine-specific replacements yet
  16. $(html_in) :
  17. $(top_srcdir)/doc/asciidoc-helper.sh html @ASCIIDOC@ @SED@ $@
  18. # Generate the manpage from asciidoc, but don't do
  19. # machine-specific replacements yet
  20. $(man_in) :
  21. $(top_srcdir)/doc/asciidoc-helper.sh man @A2X@ @SED@ $@
  22. # use ../config.status to swap all machine-specific magic strings
  23. # in the asciidoc with their replacements.
  24. $(asciidoc_product) :
  25. ../config.status --file=$@;