-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
327 lines (260 loc) · 12.9 KB
/
Makefile
File metadata and controls
327 lines (260 loc) · 12.9 KB
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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
OCAML_VERSION=`ocamlc -version`
RML_VERSION=`rmlc -version`
DATE=`date "+%Y-%m-%d"`
SRC2HTML=./bin/src2html $(OCAML_VERSION) $(RML_VERSION) $(DATE)
BIBTEX2HTML=bibtex2html
GENERATED=index.html \
documentation.html \
examples.html \
videos.html \
publications.html \
contact.html \
tryrml/tryrml.html \
examples/physics/index.html \
examples/cellular_automata/index.html \
examples/simulator_elip/index.html \
publications/header.html \
publications/footer.html \
publications/index.html \
rmltop/index.html \
distrib/index.html \
navigation.html \
reactive_asco/code/header.html \
reactive_asco/index.html \
reactive_asco/videos.html \
reactive_asco/source.html \
reactive_asco/code/types.html \
reactive_asco/code/time.html \
reactive_asco/code/motor.html \
reactive_asco/code/groups.html \
reactive_asco/code/input.html \
reactive_asco/code/output.html \
reactive_asco/code/syntax.html \
emsoft13/code/header.html \
emsoft13/index.html \
emsoft13/videos.html \
emsoft13/source.html \
emsoft13/code/types.html \
emsoft13/code/time.html \
emsoft13/code/motor.html \
emsoft13/code/groups.html \
emsoft13/code/input.html \
emsoft13/code/output.html \
emsoft13/code/syntax.html \
reactive_asco/code/jacques.html \
farm13/index.html \
farm13/videos.html \
farm13/code/jacques.html \
these_pasteur/index.html \
tutorial.html \
tutorial/lesson1.gen.html \
tutorial/lesson1.html \
tutorial/lesson2.gen.html \
tutorial/lesson2.html \
tutorial/lesson3.gen.html \
tutorial/lesson3.html \
tutorial/lesson4.gen.html \
tutorial/lesson4.html \
all: $(GENERATED)
.PHONY: $(GENERATED)
index.html: header.html footer.html index.src.html
$(SRC2HTML) "." "ReactiveML" "Home" \
header.html footer.html index.src.html > $@
documentation.html: header.html footer.html documentation.src.html
$(SRC2HTML) "." "ReactiveML - Documentation" "Documentation" \
header.html footer.html documentation.src.html > $@
examples.html: header.html footer.html examples.src.html
$(SRC2HTML) "." "ReactiveML - Examples" "Examples" \
header.html footer.html examples.src.html > $@
videos.html: header.html footer.html videos.src.html
$(SRC2HTML) "." "ReactiveML - Videos" "Videos" \
header.html footer.html videos.src.html > $@
publications.html: header.html footer.html publications.src.html
$(SRC2HTML) "." "ReactiveML - Publications" "Publications" \
header.html footer.html publications.src.html > $@
contact.html: header.html footer.html contact.src.html
$(SRC2HTML) "." "ReactiveML - Contact" "Contact" \
header.html footer.html contact.src.html > $@
tryrml/tryrml.html: tryrml/header.html tryrml/tryrml.src.html
$(SRC2HTML) ".." "ReactiveML - Try online" "Try online" \
tryrml/header.html tryrml/footer.html tryrml/tryrml.src.html > $@
examples/physics/index.html: header.html footer.html examples/physics/index.src.html
$(SRC2HTML) "../.." "ReactiveML - Example" "XXX" header.html footer.html \
examples/physics/index.src.html > $@
examples/cellular_automata/index.html: header.html footer.html examples/cellular_automata/index.src.html
$(SRC2HTML) "../.." "ReactiveML - Example" "XXX" \
header.html footer.html examples/cellular_automata/index.src.html > $@
examples/simulator_elip/index.html: header.html footer.html examples/simulator_elip/index.src.html
$(SRC2HTML) "../.." "ReactiveML - Example" "XXX" \
header.html footer.html examples/simulator_elip/index.src.html > $@
reactive_asco/code/header.html: header.html reactive_asco/code/header.src.html
cat header.html reactive_asco/code/header.src.html > $@
reactive_asco/index.html: header.html footer.html reactive_asco/index.src.html
$(SRC2HTML) ".." "ReactiveML - Reactive Asco" "XXX" \
header.html footer.html reactive_asco/index.src.html > $@
reactive_asco/videos.html: header.html footer.html reactive_asco/videos.src.html
$(SRC2HTML) ".." "ReactiveML - Reactive Asco" "XXX" \
header.html footer.html reactive_asco/videos.src.html > $@
reactive_asco/source.html: header.html footer.html reactive_asco/source.src.html
$(SRC2HTML) ".." "ReactiveML - Reactive Asco" "XXX" \
header.html footer.html reactive_asco/source.src.html > $@
reactive_asco/code/types.html: reactive_asco/code/header.html reactive_asco/code/types.src.html
$(SRC2HTML) "../.." "ReactiveML - Reactive Asco" "XXX" \
reactive_asco/code/header.html footer.html reactive_asco/code/types.src.html > $@
reactive_asco/code/time.html: reactive_asco/code/header.html reactive_asco/code/time.src.html
$(SRC2HTML) "../.." "ReactiveML - Reactive Asco" "XXX" \
reactive_asco/code/header.html footer.html reactive_asco/code/time.src.html > $@
reactive_asco/code/motor.html: reactive_asco/code/header.html reactive_asco/code/motor.src.html
$(SRC2HTML) "../.." "ReactiveML - Reactive Asco" "XXX" \
reactive_asco/code/header.html footer.html reactive_asco/code/motor.src.html > $@
reactive_asco/code/groups.html: reactive_asco/code/header.html reactive_asco/code/groups.src.html
$(SRC2HTML) "../.." "ReactiveML - Reactive Asco" "XXX" \
reactive_asco/code/header.html footer.html reactive_asco/code/groups.src.html > $@
reactive_asco/code/input.html: reactive_asco/code/header.html reactive_asco/code/input.src.html
$(SRC2HTML) "../.." "ReactiveML - Reactive Asco" "XXX" \
reactive_asco/code/header.html footer.html reactive_asco/code/input.src.html > $@
reactive_asco/code/output.html: reactive_asco/code/header.html reactive_asco/code/output.src.html
$(SRC2HTML) "../.." "ReactiveML - Reactive Asco" "XXX" \
reactive_asco/code/header.html footer.html reactive_asco/code/output.src.html > $@
reactive_asco/code/syntax.html: reactive_asco/code/header.html reactive_asco/code/syntax.src.html
$(SRC2HTML) "../.." "ReactiveML - Reactive Asco" "XXX" \
reactive_asco/code/header.html footer.html reactive_asco/code/syntax.src.html > $@
reactive_asco/code/jacques.html: reactive_asco/code/jacques.src.html
$(SRC2HTML) "../.." "ReactiveML - Reactive Asco" "XXX" \
header.html reactive_asco/code/footer.html reactive_asco/code/jacques.src.html > $@
emsoft13/code/header.html: emsoft13/header.html emsoft13/code/header.src.html
cat emsoft13/header.html emsoft13/code/header.src.html > $@
emsoft13/index.html: emsoft13/header.html footer.html emsoft13/index.src.html
$(SRC2HTML) ".." "ReactiveML - Reactive Asco" "XXX" \
emsoft13/header.html emsoft13/footer.html emsoft13/index.src.html > $@
emsoft13/videos.html: emsoft13/header.html footer.html emsoft13/videos.src.html
$(SRC2HTML) ".." "ReactiveML - Reactive Asco" "XXX" \
emsoft13/header.html emsoft13/footer.html emsoft13/videos.src.html > $@
emsoft13/source.html: emsoft13/header.html footer.html emsoft13/source.src.html
$(SRC2HTML) ".." "ReactiveML - Reactive Asco" "XXX" \
emsoft13/header.html emsoft13/footer.html emsoft13/source.src.html > $@
emsoft13/code/types.html: emsoft13/code/header.html emsoft13/code/types.src.html
$(SRC2HTML) "../.." "ReactiveML - Reactive Asco" "XXX" \
emsoft13/code/header.html emsoft13/footer.html emsoft13/code/types.src.html > $@
emsoft13/code/time.html: emsoft13/code/header.html emsoft13/code/time.src.html
$(SRC2HTML) "../.." "ReactiveML - Reactive Asco" "XXX" \
emsoft13/code/header.html emsoft13/footer.html emsoft13/code/time.src.html > $@
emsoft13/code/motor.html: emsoft13/code/header.html emsoft13/code/motor.src.html
$(SRC2HTML) "../.." "ReactiveML - Reactive Asco" "XXX" \
emsoft13/code/header.html emsoft13/footer.html emsoft13/code/motor.src.html > $@
emsoft13/code/groups.html: emsoft13/code/header.html emsoft13/code/groups.src.html
$(SRC2HTML) "../.." "ReactiveML - Reactive Asco" "XXX" \
emsoft13/code/header.html emsoft13/footer.html emsoft13/code/groups.src.html > $@
emsoft13/code/input.html: emsoft13/code/header.html emsoft13/code/input.src.html
$(SRC2HTML) "../.." "ReactiveML - Reactive Asco" "XXX" \
emsoft13/code/header.html emsoft13/footer.html emsoft13/code/input.src.html > $@
emsoft13/code/output.html: emsoft13/code/header.html emsoft13/code/output.src.html
$(SRC2HTML) "../.." "ReactiveML - Reactive Asco" "XXX" \
emsoft13/code/header.html emsoft13/footer.html emsoft13/code/output.src.html > $@
emsoft13/code/syntax.html: emsoft13/code/header.html emsoft13/code/syntax.src.html
$(SRC2HTML) "../.." "ReactiveML - Reactive Asco" "XXX" \
emsoft13/code/header.html emsoft13/footer.html emsoft13/code/syntax.src.html > $@
farm13/index.html: farm13/header.html footer.html farm13/index.src.html
$(SRC2HTML) ".." "ReactiveML - Reactive Asco" "XXX" \
farm13/header.html farm13/footer.html farm13/index.src.html > $@
farm13/videos.html: farm13/header.html footer.html farm13/videos.src.html
$(SRC2HTML) ".." "ReactiveML - Reactive Asco" "XXX" \
farm13/header.html farm13/footer.html farm13/videos.src.html > $@
farm13/code/jacques.html: farm13/code/jacques.src.html
$(SRC2HTML) "../.." "ReactiveML - Reactive Asco" "XXX" \
farm13/header.html farm13/code/footer.html farm13/code/jacques.src.html > $@
these_pasteur/index.html: farm13/header.html footer.html these_pasteur/index.src.html
$(SRC2HTML) ".." "These de C. Pasteur" "XXX" \
farm13/header.html farm13/footer.html these_pasteur/index.src.html > $@
publications/rml.html: publications/rml.bib
(export TMPDIR=.; \
cd publications; \
$(BIBTEX2HTML) \
-linebreak -nofooter -revkeys \
-nf url2 extended.pdf -nf webpage "more details" \
rml.bib)
publications/header.html: header.html publications/header.src.html
cat header.html publications/header.src.html > $@
publications/footer.html: footer.html publications/footer.src.html
cat publications/footer.src.html footer.html > $@
publications/index.html: publications/header.html publications/footer.html publications/rml.html
$(SRC2HTML) ".." "ReactiveML - Publications" "XXX" \
publications/header.html publications/footer.html \
publications/index.src.html > $@
rmltop/index.html: header.html footer.html rmltop/index.src.html
$(SRC2HTML) ".." "ReactiveML - Interactive Programming of Reactive Systems" "XXX" \
header.html footer.html rmltop/index.src.html > $@
distrib/index.html: header.html footer.html distrib/index.src.html
$(SRC2HTML) ".." "ReactiveML - Distribution" "XXX" \
header.html footer.html distrib/index.src.html > $@
## Tutorial
tutorial.html: header.html footer.html tutorial.src.html
$(SRC2HTML) "." "ReactiveML - Tutorial" "Tutorial" \
header.html footer.html tutorial.src.html > $@
tutorial/lesson1.html: header.html footer.html tutorial/lesson1.gen.html
$(SRC2HTML) ".." "ReactiveML - Tutorial" "XXX" \
header.html footer.html tutorial/lesson1.gen.html > $@
tutorial/lesson1.gen.html: tutorial/lesson1.src.html \
tryrml/lessons/lesson1/step1.html \
tryrml/lessons/lesson1/step2.html \
tryrml/lessons/lesson1/step3.html \
tryrml/lessons/lesson1/step4.html \
tryrml/lessons/lesson1/step5.html \
tryrml/lessons/lesson1/step6.html \
tryrml/lessons/lesson1/step7.html
cat $+ > $@
tutorial/lesson2.html: header.html footer.html tutorial/lesson2.gen.html
$(SRC2HTML) ".." "ReactiveML - Tutorial" "XXX" \
header.html footer.html tutorial/lesson2.gen.html > $@
tutorial/lesson2.gen.html: tutorial/lesson2.src.html \
tryrml/lessons/lesson2/step1.html \
tryrml/lessons/lesson2/step2.html \
tryrml/lessons/lesson2/step3.html \
tryrml/lessons/lesson2/step4.html \
tryrml/lessons/lesson2/step5.html \
tryrml/lessons/lesson2/step6.html \
tryrml/lessons/lesson2/step7.html
cat $+ > $@
tutorial/lesson3.html: header.html footer.html tutorial/lesson3.gen.html
$(SRC2HTML) ".." "ReactiveML - Tutorial" "XXX" \
header.html footer.html tutorial/lesson3.gen.html > $@
tutorial/lesson3.gen.html: tutorial/lesson3.src.html \
tryrml/lessons/lesson3/step1.html \
tryrml/lessons/lesson3/step2.html \
tryrml/lessons/lesson3/step3.html \
tryrml/lessons/lesson3/step4.html \
tryrml/lessons/lesson3/step5.html \
tryrml/lessons/lesson3/step6.html \
tryrml/lessons/lesson3/step7.html \
tryrml/lessons/lesson3/step8.html \
tryrml/lessons/lesson3/step9.html \
tryrml/lessons/lesson3/step10.html \
tryrml/lessons/lesson3/step11.html \
tryrml/lessons/lesson3/step12.html \
tryrml/lessons/lesson3/step13.html \
tryrml/lessons/lesson3/step14.html \
tryrml/lessons/lesson3/step15.html \
tryrml/lessons/lesson3/step16.html
cat $+ > $@
tutorial/lesson4.html: header.html footer.html tutorial/lesson4.gen.html
$(SRC2HTML) ".." "ReactiveML - Tutorial" "XXX" \
header.html footer.html tutorial/lesson4.gen.html > $@
tutorial/lesson4.gen.html: tutorial/lesson4.src.html \
tryrml/lessons/lesson4/step1.html \
tryrml/lessons/lesson4/step2.html \
tryrml/lessons/lesson4/step3.html \
tryrml/lessons/lesson4/step4.html \
tryrml/lessons/lesson4/step5.html \
tryrml/lessons/lesson4/step6.html \
tryrml/lessons/lesson4/step7.html \
tryrml/lessons/lesson4/step8.html \
tryrml/lessons/lesson4/step9.html
cat $+ > $@
## Navigation
navigation.html: header.html footer.html navigation.src.html
$(SRC2HTML) "." "ReactiveML - Navigation" "XXX" \
header.html footer.html navigation.src.html > $@
clean:
rm -f $(GENERATED) publications/rml.html publications/rml_bib.html
cleanall: clean
rm -f *~ */*~ */*/*~ */*/*/*~