2
0

Makefile.am 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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-base32.1 \
  43. gnunet-bcd.1 \
  44. gnunet-bugreport.1 \
  45. gnunet-config.1 \
  46. gnunet-core.1 \
  47. gnunet-conversation.1 \
  48. gnunet-conversation-test.1 \
  49. gnunet-directory.1 \
  50. gnunet-dns2gns.1 \
  51. gnunet-datastore.1 \
  52. gnunet-download.1 \
  53. gnunet-ecc.1 \
  54. gnunet-fs.1 \
  55. gnunet-gns.1 \
  56. gnunet-gns-proxy.1 \
  57. gnunet-gns-proxy-setup-ca.1 \
  58. gnunet-identity.1 \
  59. gnunet-cadet.1 \
  60. gnunet-namecache.1 \
  61. gnunet-namestore.1 \
  62. gnunet-namestore-fcfsd.1 \
  63. gnunet-nat.1 \
  64. gnunet-nat-auto.1 \
  65. gnunet-nat-server.1 \
  66. gnunet-nse.1 \
  67. gnunet-peerinfo.1 \
  68. gnunet-publish.1 \
  69. gnunet-qr.1 \
  70. gnunet-reclaim.1 \
  71. gnunet-resolver.1 \
  72. gnunet-revocation.1 \
  73. gnunet-scalarproduct.1 \
  74. gnunet-scrypt.1 \
  75. gnunet-search.1 \
  76. gnunet-statistics.1 \
  77. gnunet-testbed-profiler.1 \
  78. gnunet-testing-run-service.1 \
  79. gnunet-timeout.1 \
  80. gnunet-transport.1 \
  81. gnunet-transport-certificate-creation.1 \
  82. gnunet-unindex.1 \
  83. gnunet-uri.1 \
  84. gnunet-vpn.1 \
  85. gnunet-zoneimport.1
  86. if TEXI2MDOC_GENERATION
  87. man_MANS += gnunet-tutorial.7 gnunet-documentation.7
  88. endif
  89. EXTRA_DIST = ${man_MANS} \
  90. gnunet.conf.5.in \
  91. produce_html.sh.in \
  92. README