2
0

Makefile.am 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. # This Makefile.am is in the public domain
  2. docdir = $(datadir)/doc/gnunet/
  3. AM_MAKEINFOHTMLFLAGS = $(TEXINFO_HTMLFLAGS)
  4. info_TEXINFOS = \
  5. gnunet.texi
  6. gnunet_TEXINFOS = \
  7. chapters/developer.texi \
  8. chapters/keyconcepts.texi \
  9. chapters/preface.texi \
  10. chapters/philosophy.texi \
  11. chapters/installation.texi \
  12. chapters/user.texi \
  13. chapters/vocabulary.texi \
  14. chapters/configuration.texi \
  15. chapters/contributing.texi \
  16. fdl-1.3.texi \
  17. gpl-3.0.texi \
  18. agpl-3.0.texi \
  19. version.texi
  20. #if ACTIVATE_TEXINFO4
  21. # NOTE: While GNU makeinfo 6.5 supports --css-ref=URL,
  22. # makeinfo 4.8 (in NetBSD 8.0, macOS, and maybe other
  23. # base) does only support --css-include=FILE.
  24. # The only difference is a shorter html output and
  25. # in 6.5 the ability to use refs instead of include.
  26. # We prefer not to break builds in this case, so
  27. # we use the include version which is backwards compatible
  28. # and upwards compatible, while the ref variant is neither.
  29. #AM_MAKEINFOHTMLFLAGS = --no-split --css-include=style.css --css-include=manual.css
  30. #else
  31. # In the 5.x version they added `--split=chapters|sections` in
  32. # addition to `--split=nodes`.
  33. # Hold on to your hats: In version 6.5 this is already removed, ffs.
  34. # GNU Texinfo, please be more consistent than 1 version in switches.
  35. # This however is compatible to version 5.2. Thanks, I hate it.
  36. # AM_MAKEINFOHTMLFLAGS = --split=sections --css-ref="../style.css" --css-ref="../manual.css"
  37. #AM_MAKEINFOHTMLFLAGS = --split --css-ref="../style.css" --css-ref="../manual.css"
  38. #endif
  39. EXTRA_DIST = \
  40. $(gnunet_TEXINFOS) \
  41. htmlxref.cnf \
  42. version.texi \
  43. run-gendocs.sh \
  44. docstyle.css \
  45. manual.css \
  46. reset.css \
  47. style.css \
  48. images/daemon_lego_block.svg \
  49. images/lego_stack.svg \
  50. images/service_lego_block.svg \
  51. images/gns.dot \
  52. images/structure.dot \
  53. images/tng.dot \
  54. images/ascension_interaction.png \
  55. images/ascension_ssd.png \
  56. images/messenger_room.png \
  57. images/gnunet-gtk-0-10-gns-a-done.png \
  58. images/gnunet-gtk-0-10-gns-a.png \
  59. images/daemon_lego_block.png \
  60. images/gnunet-gtk-0-10-gns.png \
  61. images/gnunet-0-10-peerinfo.png \
  62. images/gnunet-gtk-0-10-identity.png \
  63. images/gnunet-fs-gtk-0-10-star-tab.png \
  64. images/gnunet-gtk-0-10-download-area.png \
  65. images/gnunet-gtk-0-10-search-selected.png \
  66. images/gnunet-gtk-0-10-fs-menu.png \
  67. images/gnunet-gtk-0-10-traffic.png \
  68. images/gnunet-gtk-0-10-fs.png \
  69. images/gnunet-namestore-gtk-phone.png \
  70. images/gnunet-gtk-0-10-fs-publish-editing.png \
  71. images/gnunet-namestore-gtk-vpn.png \
  72. images/gnunet-gtk-0-10-fs-published.png \
  73. images/gnunet-setup-exit.png \
  74. images/gnunet-gtk-0-10-fs-publish.png \
  75. images/iceweasel-preferences.png \
  76. images/gnunet-gtk-0-10-fs-publish-select.png \
  77. images/iceweasel-proxy.png \
  78. images/gnunet-gtk-0-10-fs-publish-with-file_0.png \
  79. images/service_lego_block.png \
  80. images/gnunet-gtk-0-10-fs-publish-with-file.png \
  81. images/service_stack.png \
  82. images/gnunet-gtk-0-10-fs-search.png \
  83. images/gnunet-tutorial-service.png \
  84. images/gnunet-tutorial-system.png \
  85. images/gns.jpg \
  86. images/tng.png
  87. DISTCLEANFILES = \
  88. gnunet.cps \
  89. chapters/developer.cps \
  90. chapters/installation.cps \
  91. chapter/philosophy.cps \
  92. chapters/user.cps \
  93. chapters/configuration.cps \
  94. chapters/terminology.cps \
  95. chapters/vocabulary.cps \
  96. fdl-1.3.cps \
  97. agpl-3.0.cps \
  98. gpl-3.0.cps
  99. CLEANFILES= \
  100. stamp-vti \
  101. version.texi \
  102. $(DISTCLEANFILES)
  103. clean-local: clean-local-check
  104. .PHONY: clean-local-check
  105. clean-local-check:
  106. rm -fr manual
  107. rm -fr gnunet.html
  108. rm -fr gnunet.t2p
  109. rm -fr gnunet-c-tutorial.t2p
  110. # if HAVE_EXTENDED_DOCUMENTATION_BUILDING
  111. daemon_lego_block.png: images/daemon_lego_block.svg
  112. convert images/daemon_lego_block.svg images/daemon_lego_block.png &&
  113. pngcrush images/daemon_lego_block.png images/daemon_lego_block.png
  114. service_lego_block.png: images/service_lego_block.svg
  115. convert images/service_lego_block.svg images/service_lego_block.png &&
  116. pngcrush images/service_lego_block.png images/serivce_lego_block.png
  117. lego_stack.png: images/lego_stack.svg
  118. convert images/lego_stack.svg images/lego_stack.png &&
  119. pngcrush images/lego_stack.png images/lego_stack.png
  120. # doc-all-install:
  121. # @mkdir -p $(DESTDIR)/$(docdir)
  122. # @mkdir -p $(DESTDIR)/$(infoimagedir)
  123. # @mkdir -p $(DESTDIR)/$(infodir)
  124. # @install -m 0755 gnunet.pdf $(DESTDIR)/$(docdir)
  125. # @install -m 0755 gnunet.info $(DESTDIR)/$(infodir)
  126. # @install gnunet.html $(DESTDIR)/$(docdir)
  127. # doc-gendoc-install:
  128. # @mkdir -p $(DESTDIR)/$(docdir)
  129. # @cp -r manual $(DESTDIR)/$(docdir)