diff options
author | ng0 <ng0@n0.is> | 2019-10-30 17:40:35 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-10-30 17:40:35 +0000 |
commit | e28c41cf0e66289cfaf233539e0f42cf7b2646c4 (patch) | |
tree | c4bb69e5731fd9f0547b9dbe27a675f01d8b1acf /doc | |
parent | e2d176d4a51c125bf6c1146db667a6f23e453837 (diff) | |
download | gnunet-e28c41cf0e66289cfaf233539e0f42cf7b2646c4.tar.gz gnunet-e28c41cf0e66289cfaf233539e0f42cf7b2646c4.zip |
doc/*/Makefile.am: remove unnecessary rules.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/handbook/Makefile.am | 126 | ||||
-rw-r--r-- | doc/man/Makefile.am | 2 | ||||
-rw-r--r-- | doc/tutorial/Makefile.am | 113 |
3 files changed, 45 insertions, 196 deletions
diff --git a/doc/handbook/Makefile.am b/doc/handbook/Makefile.am index 390018e1c..c4d131029 100644 --- a/doc/handbook/Makefile.am +++ b/doc/handbook/Makefile.am | |||
@@ -3,12 +3,6 @@ docdir = $(datadir)/doc/gnunet/ | |||
3 | 3 | ||
4 | infoimagedir = $(infodir)/images | 4 | infoimagedir = $(infodir)/images |
5 | 5 | ||
6 | #DOT_FILES = images/$(wildcard *.dot) | ||
7 | |||
8 | #DOT_VECTOR_GRAPHICS = \ | ||
9 | # $(DOT_FILES:%.dot=%.eps) \ | ||
10 | # $(DOT_FILES:%.dot=%.pdf) | ||
11 | |||
12 | if ACTIVATE_TEXINFO4 | 6 | if ACTIVATE_TEXINFO4 |
13 | # NOTE: While GNU makeinfo 6.5 supports --css-ref=URL, | 7 | # NOTE: While GNU makeinfo 6.5 supports --css-ref=URL, |
14 | # makeinfo 4.8 (in NetBSD 8.0, macOS, and maybe other | 8 | # makeinfo 4.8 (in NetBSD 8.0, macOS, and maybe other |
@@ -65,36 +59,6 @@ dist_infoimage_DATA = \ | |||
65 | images/gns.dot \ | 59 | images/gns.dot \ |
66 | images/gns.jpg | 60 | images/gns.jpg |
67 | 61 | ||
68 | # images/$(wildcard *.png) \ | ||
69 | # images/$(wildcard *.svg) | ||
70 | # $(DOT_FILES:%.dot=%.png) | ||
71 | |||
72 | #DOT_OPTIONS = \ | ||
73 | # -Gratio=.9 -Gnodesep=.005 -Granksep=.00005 \ | ||
74 | # -Nfontsite=9 -Nheight=.1 -Nwidth=.1 | ||
75 | |||
76 | # .dot.png: | ||
77 | # $(AM_V_DOT)$(DOT) -Tpng $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp"; \ | ||
78 | # mv "$(srcdir)/$@.tmp" "$(srcdir)/$@" | ||
79 | |||
80 | # .dot.pdf: | ||
81 | # $(AM_V_DOT)$(DOT) -Tpdf $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp"; \ | ||
82 | # mv "$(srcdir)/$@.tmp" "$(srcdir)/$@" | ||
83 | |||
84 | # .dot.eps: | ||
85 | # $(AM_V_DOT)$(DOT) -Teps $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp"; \ | ||
86 | # mv "$(srcdir)/$@.tmp" "$(srcdir)/$@" | ||
87 | |||
88 | # .png.eps: | ||
89 | # $(AM_V_GEN)convert "$<" "$@-tmp.eps"; \ | ||
90 | # mv "$@-tmp.eps" "$@" | ||
91 | |||
92 | # pdf-local: $(DOT_FILES=%.dot=$(top_srcdir)/%.pdf) | ||
93 | # info-local: $(DOT_FILES=%.dot=$(top_srcdir)/%.png) | ||
94 | # ps-local: $(DOT_FILES=%.dot=$(top_srcdir)/%.eps) \ | ||
95 | # $(top_srcdir)/%D%/images/coreutils-size-map.eps | ||
96 | # dvi-local: ps-local | ||
97 | |||
98 | 62 | ||
99 | info_TEXINFOS = \ | 63 | info_TEXINFOS = \ |
100 | gnunet.texi | 64 | gnunet.texi |
@@ -125,9 +89,6 @@ EXTRA_DIST = \ | |||
125 | style.css | 89 | style.css |
126 | 90 | ||
127 | 91 | ||
128 | # $(DOT_FILES) \ | ||
129 | # $(DOT_VECTOR_GRAPHICS) | ||
130 | |||
131 | DISTCLEANFILES = \ | 92 | DISTCLEANFILES = \ |
132 | gnunet.cps \ | 93 | gnunet.cps \ |
133 | chapters/developer.cps \ | 94 | chapters/developer.cps \ |
@@ -141,6 +102,19 @@ DISTCLEANFILES = \ | |||
141 | agpl-3.0.cps \ | 102 | agpl-3.0.cps \ |
142 | gpl-3.0.cps | 103 | gpl-3.0.cps |
143 | 104 | ||
105 | CLEANFILES= \ | ||
106 | stamp-vti \ | ||
107 | version.texi \ | ||
108 | $(DISTCLEANFILES) | ||
109 | |||
110 | clean-local: clean-local-check | ||
111 | .PHONY: clean-local-check | ||
112 | clean-local-check: | ||
113 | rm -fr manual | ||
114 | rm -fr gnunet.html | ||
115 | rm -fr gnunet.t2p | ||
116 | rm -fr gnunet-c-tutorial.t2p | ||
117 | |||
144 | # if HAVE_EXTENDED_DOCUMENTATION_BUILDING | 118 | # if HAVE_EXTENDED_DOCUMENTATION_BUILDING |
145 | daemon_lego_block.png: images/daemon_lego_block.svg | 119 | daemon_lego_block.png: images/daemon_lego_block.svg |
146 | convert images/daemon_lego_block.svg images/daemon_lego_block.png && | 120 | convert images/daemon_lego_block.svg images/daemon_lego_block.png && |
@@ -154,66 +128,14 @@ lego_stack.png: images/lego_stack.svg | |||
154 | convert images/lego_stack.svg images/lego_stack.png && | 128 | convert images/lego_stack.svg images/lego_stack.png && |
155 | pngcrush images/lego_stack.png images/lego_stack.png | 129 | pngcrush images/lego_stack.png images/lego_stack.png |
156 | 130 | ||
157 | # XXX: is this sed invocation portable enough? otherwise try tr(1). | 131 | # doc-all-install: |
158 | version.texi/replacement: version.texi/replacement/revert | 132 | # @mkdir -p $(DESTDIR)/$(docdir) |
159 | @sed "s/GPACKAGE_VERSION/$(PACKAGE_VERSION)/g" gversion.texi > gversion.texi.tmp | 133 | # @mkdir -p $(DESTDIR)/$(infoimagedir) |
160 | @mv gversion.texi.tmp gversion.texi | 134 | # @mkdir -p $(DESTDIR)/$(infodir) |
161 | 135 | # @install -m 0755 gnunet.pdf $(DESTDIR)/$(docdir) | |
162 | version.texi/replacement/revert: | 136 | # @install -m 0755 gnunet.info $(DESTDIR)/$(infodir) |
163 | @echo "@set VERSION GPACKAGE_VERSION" > gversion.texi | 137 | # @install gnunet.html $(DESTDIR)/$(docdir) |
164 | @echo "@set EDITION GPACKAGE_VERSION" >> gversion.texi | 138 | |
165 | 139 | # doc-gendoc-install: | |
166 | 140 | # @mkdir -p $(DESTDIR)/$(docdir) | |
167 | # FIXME: rm *.html and *.pdf | 141 | # @cp -r manual $(DESTDIR)/$(docdir) |
168 | #doc-clean: | ||
169 | # @rm *.aux *.log *.toc *.cp *.cps | ||
170 | |||
171 | all: version.texi/replacement | ||
172 | |||
173 | doc-all-install: | ||
174 | @mkdir -p $(DESTDIR)/$(docdir) | ||
175 | @mkdir -p $(DESTDIR)/$(infoimagedir) | ||
176 | @mkdir -p $(DESTDIR)/$(infodir) | ||
177 | @install -m 0755 gnunet.pdf $(DESTDIR)/$(docdir) | ||
178 | @install -m 0755 gnunet.info $(DESTDIR)/$(infodir) | ||
179 | @install gnunet.html $(DESTDIR)/$(docdir) | ||
180 | |||
181 | doc-gendoc-install: | ||
182 | @mkdir -p $(DESTDIR)/$(docdir) | ||
183 | @cp -r manual $(DESTDIR)/$(docdir) | ||
184 | |||
185 | # @cp -r images $(DESTDIR)/$(infoimagedir) | ||
186 | |||
187 | dev-build: version.texi/replacement | ||
188 | @makeinfo --pdf gnunet.texi | ||
189 | @makeinfo --html gnunet.texi | ||
190 | @makeinfo --no-split gnunet.texi | ||
191 | |||
192 | # TODO: Add more to clean. | ||
193 | clean: version.texi/replacement/revert | ||
194 | @rm -f gnunet.pdf | ||
195 | @rm -rf gnunet.html | ||
196 | @rm -f gnunet.info | ||
197 | @rm -f gnunet.info-1 | ||
198 | @rm -f gnunet.info-2 | ||
199 | @rm -f gnunet.info-3 | ||
200 | @rm -fr gnunet.t2p | ||
201 | @rm -fr gnunet-c-tutorial.t2p | ||
202 | @rm -fr manual | ||
203 | |||
204 | # CLEANFILES = \ | ||
205 | # gnunet.log \ | ||
206 | # gnunet-c-tutorial.log \ | ||
207 | # $(wildcard *.aux) \ | ||
208 | # $(wildcard *.toc) \ | ||
209 | # $(wildcard *.cp) \ | ||
210 | # $(wildcard *.cps) | ||
211 | |||
212 | #.PHONY: version.texi | ||
213 | # if HAVE_EXTENDED_DOCUMENTATION_BUILDING_PDF | ||
214 | |||
215 | # if HAVE_EXTENDED_DOCUMENTATION_BUILDING_HTML | ||
216 | |||
217 | # endif | ||
218 | # endif | ||
219 | # endif | ||
diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am index b3ea1c44e..82cdfc06b 100644 --- a/doc/man/Makefile.am +++ b/doc/man/Makefile.am | |||
@@ -33,6 +33,8 @@ htmldocdir = $(datadir)/doc/gnunet/manhtml/ | |||
33 | man-html-install: | 33 | man-html-install: |
34 | @mkdir -p $(htmldocdir) | 34 | @mkdir -p $(htmldocdir) |
35 | @mv $(srcdir)/*.html $(htmldocdir) | 35 | @mv $(srcdir)/*.html $(htmldocdir) |
36 | man-html-uninstall: | ||
37 | @rm $(htmldocdir)/*.html | ||
36 | 38 | ||
37 | CLEANFILES += *.html | 39 | CLEANFILES += *.html |
38 | endif | 40 | endif |
diff --git a/doc/tutorial/Makefile.am b/doc/tutorial/Makefile.am index f5c7d7742..6a7b1030b 100644 --- a/doc/tutorial/Makefile.am +++ b/doc/tutorial/Makefile.am | |||
@@ -1,12 +1,6 @@ | |||
1 | # This Makefile.am is in the public domain | 1 | # This Makefile.am is in the public domain |
2 | docdir = $(datadir)/doc/gnunet/ | 2 | docdir = $(datadir)/doc/gnunet/ |
3 | 3 | ||
4 | #DOT_FILES = images/$(wildcard *.dot) | ||
5 | |||
6 | #DOT_VECTOR_GRAPHICS = \ | ||
7 | # $(DOT_FILES:%.dot=%.eps) \ | ||
8 | # $(DOT_FILES:%.dot=%.pdf) | ||
9 | |||
10 | if ACTIVATE_TEXINFO4 | 4 | if ACTIVATE_TEXINFO4 |
11 | # NOTE: While GNU makeinfo 6.5 supports --css-ref=URL, | 5 | # NOTE: While GNU makeinfo 6.5 supports --css-ref=URL, |
12 | # makeinfo 4.8 (in NetBSD 8.0, macOS, and maybe other | 6 | # makeinfo 4.8 (in NetBSD 8.0, macOS, and maybe other |
@@ -27,34 +21,7 @@ else | |||
27 | AM_MAKEINFOHTMLFLAGS = --split --css-ref="../style.css" --css-ref="../manual.css" | 21 | AM_MAKEINFOHTMLFLAGS = --split --css-ref="../style.css" --css-ref="../manual.css" |
28 | endif | 22 | endif |
29 | 23 | ||
30 | #DOT_OPTIONS = \ | 24 | gnunet_tutorial_examples = \ |
31 | # -Gratio=.9 -Gnodesep=.005 -Granksep=.00005 \ | ||
32 | # -Nfontsite=9 -Nheight=.1 -Nwidth=.1 | ||
33 | |||
34 | # .dot.png: | ||
35 | # $(AM_V_DOT)$(DOT) -Tpng $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp"; \ | ||
36 | # mv "$(srcdir)/$@.tmp" "$(srcdir)/$@" | ||
37 | |||
38 | # .dot.pdf: | ||
39 | # $(AM_V_DOT)$(DOT) -Tpdf $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp"; \ | ||
40 | # mv "$(srcdir)/$@.tmp" "$(srcdir)/$@" | ||
41 | |||
42 | # .dot.eps: | ||
43 | # $(AM_V_DOT)$(DOT) -Teps $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp"; \ | ||
44 | # mv "$(srcdir)/$@.tmp" "$(srcdir)/$@" | ||
45 | |||
46 | # .png.eps: | ||
47 | # $(AM_V_GEN)convert "$<" "$@-tmp.eps"; \ | ||
48 | # mv "$@-tmp.eps" "$@" | ||
49 | |||
50 | # pdf-local: $(DOT_FILES=%.dot=$(top_srcdir)/%.pdf) | ||
51 | # info-local: $(DOT_FILES=%.dot=$(top_srcdir)/%.png) | ||
52 | # ps-local: $(DOT_FILES=%.dot=$(top_srcdir)/%.eps) \ | ||
53 | # $(top_srcdir)/%D%/images/coreutils-size-map.eps | ||
54 | # dvi-local: ps-local | ||
55 | |||
56 | |||
57 | gnunet_tutorial_examples = \ | ||
58 | examples/001.c \ | 25 | examples/001.c \ |
59 | examples/002.c \ | 26 | examples/002.c \ |
60 | examples/003.c \ | 27 | examples/003.c \ |
@@ -80,43 +47,32 @@ gnunet_tutorial_examples = \ | |||
80 | examples/022.c \ | 47 | examples/022.c \ |
81 | examples/023.c \ | 48 | examples/023.c \ |
82 | examples/024.c \ | 49 | examples/024.c \ |
83 | examples/025.Makefile.am \ | 50 | examples/025.Makefile.am \ |
84 | examples/026.c \ | 51 | examples/026.c \ |
85 | examples/testbed_test.c | 52 | examples/testbed_test.c |
86 | 53 | ||
87 | info_TEXINFOS = \ | 54 | info_TEXINFOS = \ |
88 | gnunet-tutorial.texi | 55 | gnunet-tutorial.texi |
89 | 56 | ||
90 | EXTRA_DIST = \ | 57 | EXTRA_DIST = \ |
91 | $(gnunet_tutorial_examples) \ | 58 | $(gnunet_tutorial_examples) \ |
92 | htmlxref.cnf \ | 59 | htmlxref.cnf \ |
93 | run-gendocs.sh \ | 60 | run-gendocs.sh \ |
94 | docstyle.css \ | 61 | docstyle.css \ |
95 | manual.css \ | 62 | manual.css \ |
96 | reset.css \ | 63 | reset.css \ |
97 | style.css | 64 | style.css |
98 | 65 | ||
99 | 66 | ||
100 | DISTCLEANFILES = \ | 67 | DISTCLEANFILES = \ |
101 | gnunet-tutorial.cps \ | 68 | gnunet-tutorial.cps \ |
102 | fdl-1.3.cps | 69 | fdl-1.3.cps |
103 | 70 | ||
104 | # XXX: is this sed invocation portable enough? otherwise try tr(1). | 71 | CLEANFILES= \ |
105 | version.texi/replacement: version.texi/replacement/revert | 72 | stamp-vti \ |
106 | @sed "s/GPACKAGE_VERSION/$(PACKAGE_VERSION)/g" gversion.texi > gversion.texi.tmp | 73 | version.texi \ |
107 | @mv gversion.texi.tmp gversion.texi | 74 | gnunet-tutorial.t2p \ |
108 | 75 | $(DISTCLEANFILES) | |
109 | version.texi/replacement/revert: | ||
110 | @echo "@set VERSION GPACKAGE_VERSION" > gversion.texi | ||
111 | @echo "@set EDITION GPACKAGE_VERSION" >> gversion.texi | ||
112 | |||
113 | |||
114 | |||
115 | # FIXME: rm *.html and *.pdf | ||
116 | #doc-clean: | ||
117 | # @rm *.aux *.log *.toc *.cp *.cps | ||
118 | |||
119 | all: version.texi/replacement | ||
120 | 76 | ||
121 | doc-all-install: | 77 | doc-all-install: |
122 | @mkdir -p $(DESTDIR)/$(docdir) | 78 | @mkdir -p $(DESTDIR)/$(docdir) |
@@ -129,34 +85,3 @@ doc-all-install: | |||
129 | doc-gendoc-install: | 85 | doc-gendoc-install: |
130 | @mkdir -p $(DESTDIR)/$(docdir) | 86 | @mkdir -p $(DESTDIR)/$(docdir) |
131 | @cp -r manual $(DESTDIR)/$(docdir) | 87 | @cp -r manual $(DESTDIR)/$(docdir) |
132 | |||
133 | # @cp -r images $(DESTDIR)/$(infoimagedir) | ||
134 | |||
135 | dev-build: version.texi/replacement | ||
136 | @makeinfo --pdf gnunet-c-tutorial.texi | ||
137 | @makeinfo --html gnunet-c-tutorial.texi | ||
138 | @makeinfo --no-split gnunet-c-tutorial.texi | ||
139 | |||
140 | # TODO: Add more to clean. | ||
141 | clean: version.texi/replacement/revert | ||
142 | @rm -f gnunet-tutorial.pdf | ||
143 | @rm -f gnunet-tutorial.info | ||
144 | @rm -rf gnunet-tutorial.html | ||
145 | @rm -fr gnunet-tutorial.t2p | ||
146 | |||
147 | # CLEANFILES = \ | ||
148 | # gnunet.log \ | ||
149 | # gnunet-c-tutorial.log \ | ||
150 | # $(wildcard *.aux) \ | ||
151 | # $(wildcard *.toc) \ | ||
152 | # $(wildcard *.cp) \ | ||
153 | # $(wildcard *.cps) | ||
154 | |||
155 | #.PHONY: version.texi | ||
156 | # if HAVE_EXTENDED_DOCUMENTATION_BUILDING_PDF | ||
157 | |||
158 | # if HAVE_EXTENDED_DOCUMENTATION_BUILDING_HTML | ||
159 | |||
160 | # endif | ||
161 | # endif | ||
162 | # endif | ||