Makefile.am 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. asciidoc_files = tor-gencert tor-resolve torify
  2. html_in = $(asciidoc_files:=.html.in)
  3. man_in = $(asciidoc_files:=.1.in)
  4. EXTRA_DIST = HACKING \
  5. $(html_in) $(man_in) $(asciidoc_files:=.1.txt) \
  6. tor-osx-dmg-creation.txt tor-rpm-creation.txt \
  7. tor-win32-mingw-creation.txt
  8. nodist_man_MANS = tor.1 $(asciidoc_files:=.1)
  9. doc_DATA = $(asciidoc_files:=.html)
  10. asciidoc_product = $(nodist_man_MANS) $(doc_DATA)
  11. SUBDIRS = design-paper spec
  12. DIST_SUBDIRS = design-paper spec
  13. # Generate the html documentation from asciidoc, but don't do
  14. # machine-specific replacements yet
  15. $(html_in) :
  16. $(top_srcdir)/doc/asciidoc-helper.sh html @ASCIIDOC@ @SED@ $@
  17. torify.html.in : torify.1.txt
  18. tor-gencert.html.in : tor-gencert.1.txt
  19. tor-resolve.html.in : tor-resolve.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. tor-resolve.1.in : tor-resolve.1.txt
  27. # use ../config.status to swap all machine-specific magic strings
  28. # in the asciidoc with their replacements.
  29. $(asciidoc_product) :
  30. ../config.status --file=$@;
  31. torify.1 : torify.1.in
  32. tor-gencert.1 : tor-gencert.1.in
  33. tor-resolve.1 : tor-resolve.1.in
  34. torify.html : torify.html.in
  35. tor-gencert.html : tor-gencert.html.in
  36. tor-resolve.html : tor-resolve.html.in