Makefile.am 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. # This Makefile.am is in the public domain
  2. docdir = $(datadir)/doc/gnunet/
  3. if ACTIVATE_TEXINFO4
  4. # NOTE: While GNU makeinfo 6.5 supports --css-ref=URL,
  5. # makeinfo 4.8 (in NetBSD 8.0, macOS, and maybe other
  6. # base) does only support --css-include=FILE.
  7. # The only difference is a shorter html output and
  8. # in 6.5 the ability to use refs instead of include.
  9. # We prefer not to break builds in this case, so
  10. # we use the include version which is backwards compatible
  11. # and upwards compatible, while the ref variant is neither.
  12. AM_MAKEINFOHTMLFLAGS = --no-split --css-include=style.css --css-include=manual.css
  13. else
  14. # In the 5.x version they added `--split=chapters|sections` in
  15. # addition to `--split=nodes`.
  16. # Hold on to your hats: In version 6.5 this is already removed, ffs.
  17. # GNU Texinfo, please be more consistent than 1 version in switches.
  18. # This however is compatible to version 5.2. Thanks, I hate it.
  19. # AM_MAKEINFOHTMLFLAGS = --split=sections --css-ref="../style.css" --css-ref="../manual.css"
  20. AM_MAKEINFOHTMLFLAGS = --split --css-ref="../style.css" --css-ref="../manual.css"
  21. endif
  22. gnunet_tutorial_examples = \
  23. examples/001.c \
  24. examples/002.c \
  25. examples/003.c \
  26. examples/004.c \
  27. examples/005.c \
  28. examples/006.c \
  29. examples/007.c \
  30. examples/008.c \
  31. examples/009.c \
  32. examples/010.c \
  33. examples/011.c \
  34. examples/012.c \
  35. examples/013.c \
  36. examples/013.1.c \
  37. examples/014.c \
  38. examples/015.c \
  39. examples/016.c \
  40. examples/017.c \
  41. examples/018.c \
  42. examples/019.c \
  43. examples/020.c \
  44. examples/021.c \
  45. examples/022.c \
  46. examples/023.c \
  47. examples/024.c \
  48. examples/025.Makefile.am \
  49. examples/026.c \
  50. examples/testbed_test.c
  51. info_TEXINFOS = tutorial.texi
  52. tutorial_TEXINFOS = \
  53. fdl-1.3.texi \
  54. gpl-3.0.texi \
  55. agpl-3.0.texi \
  56. version.texi
  57. EXTRA_DIST = \
  58. $(tutorial_TEXINFOS) \
  59. $(gnunet_tutorial_examples) \
  60. htmlxref.cnf \
  61. run-gendocs.sh \
  62. docstyle.css \
  63. manual.css \
  64. reset.css \
  65. style.css
  66. DISTCLEANFILES = \
  67. tutorial.cps \
  68. fdl-1.3.cps \
  69. agpl-3.0.cps \
  70. gpl-3.0.cps
  71. CLEANFILES= \
  72. stamp-vti \
  73. version.texi \
  74. tutorial.t2p \
  75. $(DISTCLEANFILES)
  76. doc-all-install:
  77. @mkdir -p $(DESTDIR)/$(docdir)
  78. @mkdir -p $(DESTDIR)/$(infoimagedir)
  79. @mkdir -p $(DESTDIR)/$(infodir)
  80. @install -m 0755 gnunet-tutorial.pdf $(DESTDIR)/$(docdir)
  81. @install -m 0755 gnunet-tutorial.info $(DESTDIR)/$(infodir)
  82. @install gnunet-tutorial.html $(DESTDIR)/$(docdir)
  83. doc-gendoc-install:
  84. @mkdir -p $(DESTDIR)/$(docdir)
  85. @cp -r manual $(DESTDIR)/$(docdir)