2
0

Makefile.am 4.7 KB

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