aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorng0 <ng0@infotropique.org>2017-09-30 10:38:49 +0000
committerng0 <ng0@infotropique.org>2017-09-30 10:38:49 +0000
commit90a2295c1004f57668b491908d304a986cc87d52 (patch)
tree02279ffe562adc56bc771cf65450070819973870 /doc
parentdc629f387ee54f67286ae22fe73b8f4498e0e8d6 (diff)
downloadgnunet-90a2295c1004f57668b491908d304a986cc87d52.tar.gz
gnunet-90a2295c1004f57668b491908d304a986cc87d52.zip
build-process: pass '--enable-documentation' to ONLY build the documentation.
This obviously defaults to NO. Furthermore add DISTCLEANFILES to 'doc/Makefile.am'. Adjust contrib/packages/guix/gnunet-doc.scm to it.
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am49
-rw-r--r--doc/README.txt2
2 files changed, 32 insertions, 19 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 0fadf1a37..1a8bb64b9 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -104,34 +104,40 @@ gnunet_tutorial_examples = \
104 025.c \ 104 025.c \
105 026.c 105 026.c
106 106
107info_TEXINFOS = \ 107info_TEXINFOS = \
108 gnunet.texi \ 108 gnunet.texi \
109 gnunet-c-tutorial.texi 109 gnunet-c-tutorial.texi
110 110
111# It seems as if either we still have gnunet-c-tutorial markup issues 111gnunet_TEXINFOS = \
112# or we have issues that can only occur in systems which are not using Guix 112 chapters/developer.texi \
113# or we have version incompabilities. 113 chapters/installation.texi \
114# gnunet-c-tutorial.texi 114 chapters/philosophy.texi \
115 115 chapters/user.texi \
116gnunet_TEXINFOS = \ 116 fdl-1.3.texi \
117 chapters/developer.texi \
118 chapters/installation.texi \
119 chapters/philosophy.texi \
120 chapters/user.texi \
121 fdl-1.3.texi \
122 gpl-3.0.texi 117 gpl-3.0.texi
123 118
124EXTRA_DIST = \ 119EXTRA_DIST = \
125 $(gnunet_TEXINFOS) \ 120 $(gnunet_TEXINFOS) \
126 outdated-and-old-installation-instructions.txt \ 121 outdated-and-old-installation-instructions.txt \
127 gnunet-c-tutorial-v1.pdf \ 122 gnunet-c-tutorial-v1.pdf \
128 $(gnunet_tutorial_examples) \ 123 $(gnunet_tutorial_examples) \
129 README.txt 124 README.txt
130 125
131 126
132# $(DOT_FILES) \ 127# $(DOT_FILES) \
133# $(DOT_VECTOR_GRAPHICS) 128# $(DOT_VECTOR_GRAPHICS)
134 129
130DISTCLEANFILES = \
131 gnunet.cps \
132 gnunet-c-tutorial.cps \
133 chapters/developer.cps \
134 chapters/installation.cps \
135 chapter/philosophy.cps \
136 chapters/user.cps \
137 fdl-1.3.cps \
138 gpl-3.0.cps
139
140# if HAVE_EXTENDED_DOCUMENTATION_BUILDING
135daemon_lego_block.png: images/daemon_lego_block.svg 141daemon_lego_block.png: images/daemon_lego_block.svg
136 convert images/daemon_lego_block.svg images/daemon_lego_block.png && 142 convert images/daemon_lego_block.svg images/daemon_lego_block.png &&
137 pngcrush images/daemon_lego_block.png images/daemon_lego_block.png 143 pngcrush images/daemon_lego_block.png images/daemon_lego_block.png
@@ -217,3 +223,10 @@ doc-all-install: doc-all-give-me-the-noise
217# $(wildcard *.cps) 223# $(wildcard *.cps)
218 224
219.PHONY: version.texi 225.PHONY: version.texi
226# if HAVE_EXTENDED_DOCUMENTATION_BUILDING_PDF
227
228# if HAVE_EXTENDED_DOCUMENTATION_BUILDING_HTML
229
230# endif
231# endif
232# endif
diff --git a/doc/README.txt b/doc/README.txt
index 2abe479dd..fbbc24424 100644
--- a/doc/README.txt
+++ b/doc/README.txt
@@ -14,7 +14,7 @@ guix environment gnunet-doc
14 14
15You need to have Texinfo and Texlive in your path. 15You need to have Texinfo and Texlive in your path.
16sh bootstrap 16sh bootstrap
17./configure 17./configure --enable-documentation
18cd doc 18cd doc
19make doc-all-give-me-the-noise 19make doc-all-give-me-the-noise
20 20