2
0

Makefile.am 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. # This Makefile.am is in the public domain
  2. gnunet.conf.5: gnunet.conf.5.in Makefile
  3. $(AWK) -v bdir="$(bindir)" -v py="$(PYTHON)" -v awkay="$(AWK_BINARY)" -v pfx="$(prefix)" -v prl="$(PERL)" -v sysconfdirectory="$(sysconfdir)" -v pkgdatadirectory="$(pkgdatadir)" -f $(top_srcdir)/bin/dosubst.awk < $(srcdir)/gnunet.conf.5.in > $(srcdir)/gnunet.conf.5
  4. CLEANFILES = gnunet.conf.5
  5. if TEXI2MDOC_GENERATION
  6. gnunet-tutorial.7: Makefile
  7. @texi2mdoc -I../tutorial:../tutorial/chapters ../tutorial/tutorial.texi > gnunet-tutorial.7
  8. gnunet-documentation.7: Makefile
  9. @texi2mdoc -I../handbook:../handbook/chapters ../handbook/gnunet.texi > gnunet-documentation.7
  10. CLEANFILES += gnunet-documentation.7 gnunet-tutorial.7
  11. endif
  12. if HAVE_EXPERIMENTAL
  13. if HAVE_MANDOC
  14. # After I went through the alternatives with the focus
  15. # on staying as portable as possible to other make
  16. # implementations, I have to face the fact after hours
  17. # that this is the most portable way to achieve what
  18. # I want and that the alternatives are depressing and
  19. # nonfunctional.
  20. produce_html.sh: produce_html.sh.in Makefile
  21. $(AWK) -v bdir="$(bindir)" -v py="$(PYTHON)" -v awkay="$(AWK_BINARY)" -v pfx="$(prefix)" -v prl="$(PERL)" -v sysconfdirectory="$(sysconfdir)" -v pkgdatadirectory="$(pkgdatadir)" -f $(top_srcdir)/bin/dosubst.awk < $(srcdir)/produce_html.sh.in > produce_html.sh
  22. @chmod +x produce_html.sh
  23. CLEANFILES += produce_html.sh
  24. .PHONY: man-html
  25. man-html: produce_html.sh
  26. $(SH) $(srcdir)/produce_html.sh
  27. htmldocdir = $(datadir)/doc/gnunet/manhtml/
  28. .PHONY: man-html-install
  29. man-html-install:
  30. @mkdir -p $(htmldocdir)
  31. @mv $(srcdir)/*.html $(htmldocdir)
  32. man-html-uninstall:
  33. @rm $(htmldocdir)/*.html
  34. CLEANFILES += *.html
  35. endif
  36. endif
  37. man_MANS = \
  38. gnunet.conf.5 \
  39. gnunet-arm.1 \
  40. gnunet-ats.1 \
  41. gnunet-auto-share.1 \
  42. gnunet-bcd.1 \
  43. gnunet-bugreport.1 \
  44. gnunet-config.1 \
  45. gnunet-core.1 \
  46. gnunet-conversation.1 \
  47. gnunet-conversation-test.1 \
  48. gnunet-directory.1 \
  49. gnunet-dns2gns.1 \
  50. gnunet-datastore.1 \
  51. gnunet-download.1 \
  52. gnunet-ecc.1 \
  53. gnunet-fs.1 \
  54. gnunet-gns.1 \
  55. gnunet-gns-proxy.1 \
  56. gnunet-gns-proxy-setup-ca.1 \
  57. gnunet-identity.1 \
  58. gnunet-cadet.1 \
  59. gnunet-namecache.1 \
  60. gnunet-namestore.1 \
  61. gnunet-namestore-fcfsd.1 \
  62. gnunet-nat.1 \
  63. gnunet-nat-auto.1 \
  64. gnunet-nat-server.1 \
  65. gnunet-nse.1 \
  66. gnunet-peerinfo.1 \
  67. gnunet-publish.1 \
  68. gnunet-qr.1 \
  69. gnunet-reclaim.1 \
  70. gnunet-resolver.1 \
  71. gnunet-revocation.1 \
  72. gnunet-scalarproduct.1 \
  73. gnunet-scrypt.1 \
  74. gnunet-search.1 \
  75. gnunet-statistics.1 \
  76. gnunet-testbed-profiler.1 \
  77. gnunet-testing-run-service.1 \
  78. gnunet-timeout.1 \
  79. gnunet-transport.1 \
  80. gnunet-transport-certificate-creation.1 \
  81. gnunet-unindex.1 \
  82. gnunet-uri.1 \
  83. gnunet-vpn.1 \
  84. gnunet-zoneimport.1
  85. if TEXI2MDOC_GENERATION
  86. man_MANS += gnunet-tutorial.7 gnunet-documentation.7
  87. endif
  88. EXTRA_DIST = ${man_MANS} \
  89. gnunet.conf.5.in \
  90. produce_html.sh.in \
  91. README