blob: 7951bb26bf8836a07ed000b21582a683252d5f37 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
|
# This Makefile.am is in the public domain
SUBDIRS = man doxygen
docdir = $(datadir)/doc/gnunet/
infoimagedir = $(infodir)/images
DOT_FILES = images/$(wildcard *.dot)
DOT_VECTOR_GRAPHICS = \
$(DOT_FILES:%.dot=%.eps) \
$(DOT_FILES:%.dot=%.pdf)
dist_infoimage_DATA = \
images/$(wildcard *.png) \
images/$(wildcard *.svg) \
$(DOT_FILES:%.dot=%.png)
DOT_OPTIONS = \
-Gratio=.9 -Gnodesep=.005 -Granksep=.00005 \
-Nfontsite=9 -Nheight=.1 -Nwidth=.1
.dot.png:
$(AM_V_DOT)$(DOT) -Tpng $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp"; \
mv "$(srcdir)/$@.tmp" "$(srcdir)/$@"
.dot.pdf:
$(AM_V_DOT)$(DOT) -Tpdf $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp"; \
mv "$(srcdir)/$@.tmp" "$(srcdir)/$@"
.dot.eps:
$(AM_V_DOT)$(DOT) -Teps $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp"; \
mv "$(srcdir)/$@.tmp" "$(srcdir)/$@"
.png.eps:
$(AM_V_GEN)convert "$<" "$@-tmp.eps"; \
mv "$@-tmp.eps" "$@"
pdf-local: $(DOT_FILES=%.dot=$(top_srcdir)/%.pdf)
info-local: $(DOT_FILES=%.dot=$(top_srcdir)/%.png)
ps-local: $(DOT_FILES=%.dot=$(top_srcdir)/%.eps) \
$(top_srcdir)/%D%/images/coreutils-size-map.eps
dvi-local: ps-local
gnunet_tutorial_examples = \
001.c \
002.c \
003.c \
004.c \
005.c \
006.c \
007.c \
008.c \
009.c \
010.c \
011.c \
012.c \
013.c \
014.c \
015.c \
016.c \
017.c \
018.c \
019.c \
020.c \
021.c \
022.c \
023.c \
024.c \
025.c \
026.c
info_TEXINFOS = \
gnunet.texi
# It seems as if either we still have gnunet-c-tutorial markup issues
# or we have issues that can only occur in systems which are not using Guix
# or we have version incompabilities.
# gnunet-c-tutorial.texi
gnunet_TEXINFOS = \
chapters/developer.texi \
chapters/installation.texi \
chapters/philosophy.texi \
chapters/user.texi \
fdl-1.3.texi \
gpl-3.0.texi
EXTRA_DIST = \
$(gnunet_TEXINFOS) \
$(gnunet_tutorial_examples) \
$(DOT_FILES) \
$(DOT_VECTOR_GRAPHICS) \
outdated-and-old-installation-instructions.txt \
gnunet-c-tutorial-v1.pdf \
README.txt
daemon_lego_block.png: images/daemon_lego_block.svg
convert images/daemon_lego_block.svg images/daemon_lego_block.png &&
pngcrush images/daemon_lego_block.png images/daemon_lego_block.png
service_lego_block.png: images/service_lego_block.svg
convert images/service_lego_block.svg images/service_lego_block.png &&
pngcrush images/service_lego_block.png images/serivce_lego_block.png
lego_stack.png: images/lego_stack.svg
convert images/lego_stack.svg images/lego_stack.png &&
pngcrush images/lego_stack.png images/lego_stack.png
version.texi:
echo "@set UPDATED $(date +'%d %B %Y')" > $@
echo "@set UPDATED-MONTH $(date +'%B %Y')" >> $@
echo "@set EDITION $(PACKAGE_VERSION)" >> $@
echo "@set VERSION $(PACKAGE_VERSION)" >> $@
doc-pdf: version.texi
@makeinfo --pdf --quiet gnunet.texi
doc-pdf-tutorial: version.texi
@makeinfo --pdf --quiet gnunet-c-tutorial.texi
doc-html: version.texi
@makeinfo --html gnunet.texi
doc-html-tutorial: version.texi
@makeinfo --html gnunet-c-tutorial.texi
doc-info: version.texi
@makeinfo --no-split gnunet.texi
doc-info-tutorial: version.texi
@makeinfo --no-split gnunet-c-tutorial.texi
# FIXME: rm *.html and *.pdf
doc-clean:
@rm *.aux *.log *.toc *.cp *.cps
doc-all: doc-pdf doc-html doc-info doc-pdf-tutorial doc-html-tutorial doc-info-tutorial
doc-pdf-noise: version.texi
@makeinfo --pdf gnunet.texi
doc-pdf-tutorial-noise: version.texi
@makeinfo --pdf gnunet-c-tutorial.texi
doc-html-noise: version.texi
@makeinfo --html gnunet.texi
doc-html-tutorial-noise: version.texi
@makeinfo --html gnunet-c-tutorial.texi
doc-info-noise: version.texi
@makeinfo --no-split gnunet.texi
doc-info-tutorial-noise: version.texi
@makeinfo --no-split gnunet-c-tutorial.texi
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
doc-all-install: doc-all-give-me-the-noise
@mkdir -p $(DESTDIR)/$(docdir)
@mkdir -p $(DESTDIR)/$(infoimagedir)
@mkdir -p $(DESTDIR)/$(infodir)
@install -m 0755 gnunet.pdf $(DESTDIR)/$(docdir)
@install -m 0755 gnunet-c-tutorial.pdf $(DESTDIR)/$(docdir)
@install -m 0755 gnunet-c-tutorial.info $(DESTDIR)/$(infodir)
@install -m 0755 gnunet.info $(DESTDIR)/$(infodir)
@cp -r gnunet $(DESTDIR)/$(docdir)
@cp -r gnunet-c-tutorial $(DESTDIR)/$(docdir)
@cp -r images $(DESTDIR)/$(infoimagedir)
# TODO: Add more to clean.
clean:
@rm gnunet.pdf
@rm gnunet-c-tutorial.pdf
@rm gnunet.info
@rm gnunet-c-tutorial.info
CLEANFILES = \
gnunet.log \
gnunet-c-tutorial.log \
$(wildcard *.aux) \
$(wildcard *.toc) \
$(wildcard *.cp) \
$(wildcard *.cps)
.PHONY: version.texi
|