Makefile.am 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. asciidoc_files = tor-gencert torify
  2. html_in = $(asciidoc_files:=.html.in)
  3. man_in = $(asciidoc_files:=.1.in)
  4. EXTRA_DIST = HACKING \
  5. tor-resolve.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
  9. nodist_man_MANS = tor.1 tor-resolve.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. torify.html.in : torify.1.txt
  19. tor-gencert.html.in : tor-gencert.1.txt
  20. # Generate the manpage from asciidoc, but don't do
  21. # machine-specific replacements yet
  22. $(man_in) :
  23. $(top_srcdir)/doc/asciidoc-helper.sh man @A2X@ @SED@ $@
  24. torify.1.in : torify.1.txt
  25. tor-gencert.1.in : tor-gencert.1.txt
  26. # use ../config.status to swap all machine-specific magic strings
  27. # in the asciidoc with their replacements.
  28. $(asciidoc_product) :
  29. ../config.status --file=$@;
  30. torify.1 : torify.1.in
  31. tor-gencert.1 : tor-gencert.1.in
  32. torify.html : torify.html.in
  33. tor-gencert.html : tor-gencert.html.in