diff options
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r-- | doc/Makefile.am | 101 |
1 files changed, 63 insertions, 38 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index ee735f171..cbb5fb462 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am | |||
@@ -5,39 +5,42 @@ docdir = $(datadir)/doc/gnunet/ | |||
5 | 5 | ||
6 | infoimagedir = $(infodir)/images | 6 | infoimagedir = $(infodir)/images |
7 | 7 | ||
8 | dist_infoimage_DATA = \ | 8 | DOT_FILES = images/$(wildcard *.dot) |
9 | images/gnunet-gtk-0-10-gns-a-done.png \ | 9 | |
10 | images/gnunet-gtk-0-10-gns-a.png \ | 10 | DOT_VECTOR_GRAPHICS = \ |
11 | images/daemon_lego_block.png \ | 11 | $(DOT_FILES:%.dot=%.eps) \ |
12 | images/gnunet-gtk-0-10-gns.png \ | 12 | $(DOT_FILES:%.dot=%.pdf) |
13 | images/gnunet-0-10-peerinfo.png \ | 13 | |
14 | images/gnunet-gtk-0-10-identity.png \ | 14 | dist_infoimage_DATA = \ |
15 | images/gnunet-fs-gtk-0-10-star-tab.png \ | 15 | images/$(wildcard *.png) \ |
16 | images/gnunet-gtk-0-10.png \ | 16 | images/$(wildcard *.svg) \ |
17 | images/gnunet-gtk-0-10-download-area.png \ | 17 | $(DOT_FILES:%.dot=%.png) |
18 | images/gnunet-gtk-0-10-search-selected.png \ | 18 | |
19 | images/gnunet-gtk-0-10-fs-menu.png \ | 19 | DOT_OPTIONS = \ |
20 | images/gnunet-gtk-0-10-traffic.png \ | 20 | -Gratio=.9 -Gnodesep=.005 -Granksep=.00005 \ |
21 | images/gnunet-gtk-0-10-fs.png \ | 21 | -Nfontsite=9 -Nheight=.1 -Nwidth=.1 |
22 | images/gnunet-namestore-gtk-phone.png \ | 22 | |
23 | images/gnunet-gtk-0-10-fs-publish-editing.png \ | 23 | .dot.png: |
24 | images/gnunet-namestore-gtk-vpn.png \ | 24 | $(AM_V_DOT)$(DOT) -Tpng $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp"; \ |
25 | images/gnunet-gtk-0-10-fs-published.png \ | 25 | mv "$(srcdir)/$@.tmp" "$(srcdir)/$@" |
26 | images/gnunet-setup-exit.png \ | 26 | |
27 | images/gnunet-gtk-0-10-fs-publish.png \ | 27 | .dot.pdf: |
28 | images/iceweasel-preferences.png \ | 28 | $(AM_V_DOT)$(DOT) -Tpdf $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp"; \ |
29 | images/gnunet-gtk-0-10-fs-publish-select.png \ | 29 | mv "$(srcdir)/$@.tmp" "$(srcdir)/$@" |
30 | images/iceweasel-proxy.png \ | 30 | |
31 | images/gnunet-gtk-0-10-fs-publish-with-file_0.png \ | 31 | .dot.eps: |
32 | images/service_lego_block.png \ | 32 | $(AM_V_DOT)$(DOT) -Teps $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp"; \ |
33 | images/gnunet-gtk-0-10-fs-publish-with-file.png \ | 33 | mv "$(srcdir)/$@.tmp" "$(srcdir)/$@" |
34 | images/service_stack.png \ | 34 | |
35 | images/gnunet-gtk-0-10-fs-search.png \ | 35 | .png.eps: |
36 | images/gnunet-tutorial-service.png \ | 36 | $(AM_V_GEN)convert "$<" "$@-tmp.eps"; \ |
37 | images/gnunet-tutorial-system.png \ | 37 | mv "$@-tmp.eps" "$@" |
38 | images/daemon_lego_block.svg \ | 38 | |
39 | images/lego_stack.svg \ | 39 | pdf-local: $(DOT_FILES=%.dot=$(top_srcdir)/%.pdf) |
40 | images/service_lego_block.svg | 40 | info-local: $(DOT_FILES=%.dot=$(top_srcdir)/%.png) |
41 | ps-local: $(DOT_FILES=%.dot=$(top_srcdir)/%.eps) \ | ||
42 | $(top_srcdir)/%D%/images/coreutils-size-map.eps | ||
43 | dvi-local: ps-local | ||
41 | 44 | ||
42 | gnunet_tutorial_examples = \ | 45 | gnunet_tutorial_examples = \ |
43 | 001.c \ | 46 | 001.c \ |
@@ -83,11 +86,13 @@ gnunet_TEXINFOS = \ | |||
83 | fdl-1.3.texi \ | 86 | fdl-1.3.texi \ |
84 | gpl-3.0.texi | 87 | gpl-3.0.texi |
85 | 88 | ||
86 | EXTRA_DIST = \ | 89 | EXTRA_DIST = \ |
87 | $(gnunet_TEXINFOS) \ | 90 | $(gnunet_TEXINFOS) \ |
88 | $(gnunet_tutorial_examples) \ | 91 | $(gnunet_tutorial_examples) \ |
89 | outdated-and-old-installation-instructions.txt \ | 92 | $(DOT_FILES) \ |
90 | gnunet-c-tutorial-v1.pdf \ | 93 | $(DOT_VECTOR_GRAPHICS) \ |
94 | outdated-and-old-installation-instructions.txt \ | ||
95 | gnunet-c-tutorial-v1.pdf \ | ||
91 | README.txt | 96 | README.txt |
92 | 97 | ||
93 | daemon_lego_block.png: images/daemon_lego_block.svg | 98 | daemon_lego_block.png: images/daemon_lego_block.svg |
@@ -146,4 +151,24 @@ doc-info-tutorial-noise: version.texi | |||
146 | 151 | ||
147 | doc-all-give-me-the-noise: doc-pdf-noise doc-html-noise doc-info-noise doc-pdf-tutorial-noise doc-html-tutorial-noise doc-info-tutorial-noise | 152 | doc-all-give-me-the-noise: doc-pdf-noise doc-html-noise doc-info-noise doc-pdf-tutorial-noise doc-html-tutorial-noise doc-info-tutorial-noise |
148 | 153 | ||
154 | doc-all-install: doc-all-give-me-the-noise | ||
155 | @mkdir -p $(DESTDIR)/$(docdir) | ||
156 | @mkdir -p $(DESTDIR)/$(infoimagedir) | ||
157 | @mkdir -p $(DESTDIR)/$(infodir) | ||
158 | @install -m 0755 gnunet.pdf $(DESTDIR)/$(docdir) | ||
159 | @install -m 0755 gnunet-c-tutorial.pdf $(DESTDIR)/$(docdir) | ||
160 | @install -m 0755 gnunet-c-tutorial.info $(DESTDIR)/$(infodir) | ||
161 | @install -m 0755 gnunet.info $(DESTDIR)/$(infodir) | ||
162 | @cp -r gnunet $(DESTDIR)/$(docdir) | ||
163 | @cp -r gnunet-c-tutorial $(DESTDIR)/$(docdir) | ||
164 | @cp -r images $(DESTDIR)/$(infoimagedir) | ||
165 | |||
166 | CLEANFILES = \ | ||
167 | gnunet.log \ | ||
168 | gnunet-c-tutorial.log \ | ||
169 | $(wildcard *.aux) \ | ||
170 | $(wildcard *.toc) \ | ||
171 | $(wildcard *.cp) \ | ||
172 | $(wildcard *.cps) | ||
173 | |||
149 | .PHONY: version.texi | 174 | .PHONY: version.texi |