ChangeLog 1.62 MB
Newer Older
Roland Levillain's avatar
Roland Levillain committed
1
2
3
4
5
6
7
8
9
10
2010-04-20  Roland Levillain  <roland@lrde.epita.fr>

	Fix more tests.

	* mln/core/image/imorph/labeled_image.hh: Include
	mln/data/compute.hh.
	* mln/io/fld/save.hh: Fix headers' inclusions.
	* mln/io/fld/write_header.hh: Likewise.
	Add missing namespace qualifiers.

11
12
13
14
15
16
2010-04-20  Roland Levillain  <roland@lrde.epita.fr>

	Install meshes in $(pkgdatadir)/meshes.

	* mesh/Makefile.am (meshdir): Here.

17
18
19
20
21
22
2010-04-09  Roland Levillain  <roland@lrde.epita.fr>

	Fix test core/other/box_runend_piter.

	* tests/core/other/box_runend_piter.cc: Fix assertion.

23
24
25
26
27
28
29
30
2010-03-30  Roland Levillain  <roland@lrde.epita.fr>

	Do not install low-quality HTML documentation.

	* doc/Makefile.am (DATA_html_dirs_inst): New.
	Use it...
	(install-data-local, uninstall-local): Here.

31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
2010-03-30  Roland Levillain  <roland@lrde.epita.fr>

	Adjust the installation of the HTML documentation.

	* doc/Makefile.am (all-local): Do not depend on
	$(srcdir)/$(USER_REFMAN_PDF).
	(dist_pdf_DATA): Add $(srcdir)/$(USER_REFMAN_PDF) instead of
	$(USER_REFMAN_PDF).
	(AM_CPPFLAGS): Remove -I$(top_srcdir)/milena/doc/tutorial/tools.
	(regen-doc, $(srcdir)/user-refman.stamp)
	(regen-devel-doc, $(srcdir)/devel-refman.stamp):
	Remove `-' before `rm' actions.
	(EXTRA_DIST): Add $(USER_REFMAN).
	(maintainer-clean-local)
	(install-data-local)
	(uninstall-local):
	Handle the new HTML subdirectories.
	(MAINTAINERCLEANFILES): Remove $(dist_html_DATA).

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
2010-03-30  Roland Levillain  <roland@lrde.epita.fr>

	Move LaTeX sources at the root of doc/; generate HTML in subdirs.

	* doc/tutorial/tutorial.tex,
	* doc/technical/technical.tex,
	* doc/ref_guide/ref_guide.tex,
	* doc/white_paper/white_paper.tex:
	Move...
	* doc/tutorial.tex,
	* doc/technical.tex,
	* doc/ref-guide.tex,
	* doc/white-paper.tex:
	...here.
	* doc/graphicx.hva: New.
	* doc/technical/figures/file_layout.pdf,
	* doc/technical/figures/file_layout.png,
	* doc/white_paper/figures/house.png,
	* doc/white_paper/figures/house_rag.png,
	* doc/white_paper/figures/house_wshed.png,
	* doc/white_paper/figures/house_wshed_mean_colors.png:
	Move...
	* doc/figures/technical/file_layout.pdf,
	* doc/figures/technical/file_layout.png,
	* doc/figures/house.png,
	* doc/figures/house_rag.png,
	* doc/figures/house_wshed.png,
	* doc/figures/house_wshed_mean_colors.png:
	...here.
	* doc/technical.tex: Adjust paths.
	* doc/technical/designs/,
	* doc/tutorial/designs/,
	* doc/tutorial/doxyfile_tuto.local,
	* doc/tutorial/image_types.txt,
	* doc/tutorial/image_values.txt,
	* doc/tutorial/images_tour.txt,
	* doc/tutorial/slides.tex:
	Rename as...
	* doc/technical.old/designs/,
	* doc/tutorial.old/design/,
	* doc/tutorial.old/doxyfile_tuto.local,
	* doc/tutorial.old/image_types.txt,
	* doc/tutorial.old/image_values.txt,
	* doc/tutorial.old/images_tour.txt,
	* doc/tutorial.old/slides.tex:
	...this.
	* tutorial/headers.stamp: Remove.
	* doc/Makefile.am (REFMAN_deps): Rename as...
	(refman_dependencies): ...this.
	Adjust paths.
	($(srcdir)/user-refman.stamp, $(srcdir)/devel-refman.stamp):
	Adjust.
	(PNGS, EPSS): Remove.
	(.png.eps): Remove rule.
	(TECHNICAL_FIGURES, WHITE_PAPER_FIGURES): New.
	(MORE_FIGURES): Add $(TECHNICAL_FIGURES) and
	$(WHITE_PAPER_FIGURES).
	(technical_dir, tutorial_dir, white_paper_dir, ref_guide_dir):
	Remove.
	(TECHNICAL, TUTORIAL, WHITE_PAPER, REF_GUIDE): New.
	(TECHNICAL_PDF, TUTORIAL_PDF, WHITE_PAPER_PDF, REF_GUIDE_PDF)
	(TUTORIAL_HH, REF_GUIDE_HH)
	(EXTRA_DIST, MAINTAINERCLEANFILES): Adjust.
	Remove (EPSS).
	(EXTRA_DIST): Remove $(PNGS).
	Add graphicx.hva.
	(technical_dependencies)
	(tutorial_dependencies)
	(ref_guide_dependencies):
	Rename as...
	(TECHNICAL_deps)
	(TUTORIAL_deps)
	(REF_GUIDE_deps):
	...this.
	(TECHNICAL_deps): Add $(TECHNICAL_FIGURES).
	(WHITE_PAPER_deps): New.
	($(TECHNICAL_PDF))
	($(TUTORIAL_PDF))
	($(WHITE_PAPER_PDF))
	($(REF_GUIDE_PDF)):
	Adjust.
	(TECHNICAL_HTML, TECHNICAL_HTML_OUTPUTS)
	(TUTORIAL_HTML, TUTORIAL_HTML_OUTPUTS)
	(WHITE_PAPER_HTML, WHITE_PAPER_HTML_OUTPUTS)
	(REF_GUIDE_HTML, REF_GUIDE_HTML_OUTPUTS):
	Remove.
	(all-local): Depend on
	$(srcdir)/$(TECHNICAL).stamp,
	$(srcdir)/$(TUTORIAL).stamp,
	$(srcdir)/$(WHITE_PAPER).stamp and
	$(srcdir)/$(REF_GUIDE).stamp.
	($(TECHNICAL_HTML).stamp)
	($(TUTORIAL_HTML).stamp)
	($(WHITE_PAPER_HTML).stamp)
	($(REF_GUIDE_HTML).stamp):
	Turn targets into...
	($(srcdir)/$(TECHNICAL).stamp)
	($(srcdir)/$(TUTORIAL).stamp)
	($(srcdir)/$(WHITE_PAPER).stamp)
	($(srcdir)/$(REF_GUIDE).stamp):
	...this.
	Adjust rules to generate outputs in a subdirectory.
	($(TECHNICAL_HTML_OUTPUTS))
	($(TUTORIAL_HTML_OUTPUTS))
	($(WHITE_PAPER_HTML_OUTPUTS))
	($(REF_GUIDE_HTML_OUTPUTS)):
	Turn targets into...
	($(srcdir)/$(TECHNICAL))
	($(srcdir)/$(TUTORIAL))
	($(srcdir)/$(WHITE_PAPER))
	($(srcdir)/$(REF_GUIDE)):
	...this.
	Adjust.
	($(TUTORIAL_HH)): Depend on $(srcdir)/$(TUTORIAL).stamp.
	Adjust rule.
	($(REF_GUIDE_HH)): Depend on (srcdir)/$(REF_GUIDE).stamp.
	Adjust rule.
	(dist_html_DATA): Remove.
	(DATA_html_dirs): New.
	(EXTRA_DIST): Add $(DATA_html_dirs).

171
172
173
174
175
176
177
178
2010-03-26  Roland Levillain  <roland@lrde.epita.fr>

	No longer generate doc/technical/technical.hh.

	* doc/Makefile.am (TECHNICAL_HH): Remove variable.
	($(TECHNICAL_HH)): Remove rule.
	(MAINTAINERCLEANFILES): Remove $(TECHNICAL_HH).

179
180
181
182
183
184
185
186
2010-03-26  Roland Levillain  <roland@lrde.epita.fr>

	Fix the regeneration of files in doc/.

	* doc/Makefile.am (regen-am): No longer invoke
	regen-pbm-figures-mk, regen-pgm-figures-mk nor
	regen-ppm-figures-mk.

187
188
189
190
191
192
193
194
2010-03-23  Roland Levillain  <roland@lrde.epita.fr>

	Fix the Milena distribution.

	* doc/Makefile.am (EXTRA_DIST): Remove $(TECHNICAL_HH).
	* tests/transform/Makefile.am (check_PROGRAMS): Remove kht.
	(kht_SOURCES): Remove.

195
196
197
198
199
200
201
2010-03-23  Roland Levillain  <roland@lrde.epita.fr>

	Do not distribute the developer (Doxygen) reference manual.

	* doc/Makefile.am (EXTRA_DIST): Remove
	$(srcdir)/devel-refman.stamp.

202
203
204
205
206
207
208
2010-03-23  Roland Levillain  <roland@lrde.epita.fr>

	Fix the name of the developer (Doxygen) PDF reference manual.

	* doc/Makefile.am (DEVEL_REFMAN_PDF):
	s/devel-refman-pdf/devel-refman.pdf/.

209
210
211
212
213
214
215
216
217
218
219
220
221
222
2010-03-23  Roland Levillain  <roland@lrde.epita.fr>

	Use finer installation variables.

	* doc/Makefile.am (dist_doc_DATA): Remove variable.
	(dist_html_DATA, dist_pdf_DATA): New variables.
	(MAINTAINERCLEANFILES):
	Remove $(TECHNICAL_HTML_OUTPUTS), $(TECHNICAL_PDF),
	$(TUTORIAL_HTML_OUTPUTS), $(TUTORIAL_PDF),
	$(WHITE_PAPER_HTML_OUTPUTS), $(WHITE_PAPER_PDF),
	$(REF_GUIDE_HTML_OUTPUTS), $(REF_GUIDE_PDF) and
	$(USER_REFMAN_PDF).
	Add $(dist_html_DATA) and $(dist_pdf_DATA).

Roland Levillain's avatar
Roland Levillain committed
223
224
225
226
227
228
229
230
231
232
2010-03-23  Roland Levillain  <roland@lrde.epita.fr>

	Simplify doc/Makefile.am.

	* doc/Makefile.am:
	(DOC_SRCDIR, OUTPUTS_SRCDIR, SPLIT_OUTPUTS_SRCDIR, FIGURES_SRCDIR)
	(EXAMPLES_SRCDIR, SPLIT_EXAMPLES_SRCDIR, IMG_SRCDIR, doc_dir):
	Remove variables.
	Adjust.

233
234
235
236
2010-03-23  Roland Levillain  <roland@lrde.epita.fr>

	* doc/Makefile.am: Update FIXMEs.

237
238
239
240
241
242
243
244
245
246
247
248
2010-03-23  Roland Levillain  <roland@lrde.epita.fr>

	Remove Make aliases in the documentation.

	* doc/Makefile.am (doc, doc-user, doc-devel)
	(doc-pdf, doc-html, doc-devel-pdf, doc-devel-html)
	(ref-doc, ref-doc-pdf, ref-doc-devel, ref-doc-devel-pdf)
	(tutorial-pdf, white-paper-pdf, ref-guide-pdf)
	(tutorial-html, white-paper-html, ref-guide-html):
	Remove (phony) targets.
	* Makefile.am (doc, tutorial): Likewise.

249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
2010-03-22  Roland Levillain  <roland@lrde.epita.fr>

	Regen documentation products.

	* doc/examples/split/ima2d-rot-1.cc.raw,
	* doc/figures/fill-subdomain-2.ppm,
	* doc/figures/fill-subdomain-3.ppm,
	* doc/figures/labeling-compute-2.ppm,
	* doc/figures/tuto3_colorize-2.ppm,
	* doc/figures/tuto4_genericity_and_algorithms-1.ppm,
	* doc/figures/tuto4_genericity_and_algorithms-5.ppm:
	Regen
	* doc/figures/tuto4_genericity_and_algorithms-7.pgm,
	* doc/figures/tuto4_genericity_and_algorithms-7.ppm,
	* doc/figures/tuto4_genericity_and_algorithms-8.pgm,
	* doc/figures/tuto4_genericity_and_algorithms-8.ppm,
	* doc/figures/tuto4_genericity_and_algorithms-9.pgm,
	* doc/figures/tuto4_genericity_and_algorithms-9.ppm:
	Delete.
	* doc/outputs/ima-load.txt,
	* doc/outputs/tuto3_first_routine.txt,
	* doc/outputs/tuto4_image.txt:
	New.

273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
2010-03-22  Roland Levillain  <roland@lrde.epita.fr>

	Have doc/gen-figures-mk generate more Makefile bits.

	* doc/gen-figures-mk: Generate Make variables PBM_FIGURES,
	PGM_FIGURES and PPM_FIGURES in output.
	* doc/figures.mk: Regen.
	* doc/Makefile.am: No longer include $(srcdir)/pbm-figures.mk,
	$(srcdir)/pgm-figures.mk nor $(srcdir)/ppm-figures.mk.
	($(srcdir)/pbm-figures.mk, regen-pbm-figures-mk)
	($(srcdir)/pgm-figures.mk, regen-pgm-figures-mk)
	($(srcdir)/ppm-figures.mk, regen-ppm-figures-mk):
	Remove rules.
	(EXTRA_DIST): Add $(FIGURES).
	Remove $(PBM_FIGURES), $(PGM_FIGURES) and $(PPM_FIGURES).
	* doc/pbm-figures.mk,
	* doc/pgm-figures.mk,
	* doc/ppm-figures.mk:
	Remove.

293
294
295
296
297
298
299
300
301
2010-03-22  Roland Levillain  <roland@lrde.epita.fr>

	Rework doc/gen-figures-mk a bit.

	* doc/gen-figures-mk (gen_var): New function.
	Use to factor the emission of the Make variable at the end of the
	output.
	Aesthetic changes.

302
303
304
305
306
307
308
2010-03-22  Roland Levillain  <roland@lrde.epita.fr>

	Distribute doc/gen-split-outputs-mk.

	* doc/Makefile.am (EXTRA_DIST): Add gen-split-outputs-mk.
	Aesthetic changes.

309
310
311
312
313
314
315
316
2010-03-22  Roland Levillain  <roland@lrde.epita.fr>

	Make a more portable use of mktemp.

	* doc/gen-split-examples-mk,
	* doc/gen-split-outputs-mk:
	Here.

317
318
319
320
321
322
323
324
325
2010-03-22  Roland Levillain  <roland@lrde.epita.fr>

	Sort inputs of generators to make them deterministic w.r.t. outputs.

	* doc/gen-split-examples-mk,
	* doc/gen-split-outputs-mk:
	Here.
	* doc/split-examples.mk: Regen.

326
327
328
329
330
331
332
333
334
2010-03-22  Roland Levillain  <roland@lrde.epita.fr>

	Generate the list of figures in the documentation.

	* doc/Makefile.am ($(srcdir)/figures.mk): New rule.
	(regen-figures-mk): New phony target.
	(regen-am): Invoke regen-figures-mk.
	* doc/figures.mk: Regen.

335
336
337
338
339
340
341
2010-03-20  Roland Levillain  <roland@lrde.epita.fr>

	Add a script to generate doc/figures.mk.

	* doc/gen-figures-mk: New script.
	* doc/Makefile.am (EXTRA_DIST): Add gen-figures-mk.

342
343
344
345
346
347
348
2010-03-20  Roland Levillain  <roland@lrde.epita.fr>

	Use a more uniform style in doc/figures.mk.

	* doc/figures.mk: Here.
	Reorder items.

349
350
351
352
353
354
355
356
357
2010-03-20  Roland Levillain  <roland@lrde.epita.fr>

	Prepare doc examples for the automated generation of figures.mk.

	* doc/examples/ima2d-rot.cc (main): Pass a literal string as
	second argument to doc::ppmsave to help gen-figures-mk.
	* doc/examples/labeling-compute.cc (main): Have calls to
	doc::ppmsave fit on a single line to help gen-figures-mk.

Roland Levillain's avatar
Roland Levillain committed
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
2010-03-18  Roland Levillain  <roland@lrde.epita.fr>

	Typo in doc/.

	* doc/examples/accu-right-instanciation.cc: Rename as...
	* doc/examples/accu-right-instantiation.cc: ...this.
	* doc/examples/accu-wrong-instanciation.cc.raw,
	* doc/examples/split/accu-right-instanciation-1.cc.raw,
	* doc/outputs/accu-right-instanciation.txt:
	Likewise, rename as...
	* doc/examples/accu-wrong-instantiation.cc.raw,
	* doc/examples/split/accu-right-instantiation-1.cc.raw,
	* doc/outputs/accu-right-instantiation.txt:
	...these.
	* doc/ref_guide/ref_guide.tex,
	* doc/programs-examples.mk,
	* doc/Makefile.am (MORE_EXAMPLES):
	s/instanciation/instantiation/.
	* doc/examples-outputs.mk,
	* doc/examples.mk,
	* doc/outputs.mk,
	* doc/split-examples.mk:
	Regen.

Roland Levillain's avatar
Roland Levillain committed
382
383
384
385
386
387
388
389
390
391
2010-03-18  Roland Levillain  <roland@lrde.epita.fr>

	Fix dependencies in doc/.

	* doc/Makefile.am (refman_dependencies):
	Remove $(SPLIT_EXAMPLES) and $(SPLIT_OUTPUTS).
	(technical_dependencies): Add $(TECHNICAL_EXAMPLES).
	(tutorial_dependencies, ref_guide_dependencies):
	Add $(EXAMPLES)	and $(OUTPUTS).

392
393
394
395
396
397
398
399
2010-03-18  Roland Levillain  <roland@lrde.epita.fr>

	Distribute non generated figures in the documentation.

	* doc/Makefile.am (MORE_FIGURES): New variable.
	Add figures/accu_image_morpher_big_picture.pdf.
	(EXTRA_DIST): Add $(MORE_FIGURES).

400
401
402
403
404
405
406
407
2010-03-18  Roland Levillain  <roland@lrde.epita.fr>

	Distribute non generated examples in the documentation.

	* doc/Makefile.am (TECHNICAL_EXAMPLES, MORE_EXAMPLES):
	New variables.
	(EXTRA_DIST): Add $(TECHNICAL_EXAMPLES) and $(MORE_EXAMPLES).

408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
2010-03-18  Roland Levillain  <roland@lrde.epita.fr>

	Have ``make maintainer-clean'' remove generated figures in doc/.

	* doc/figures.mk
	(EXTEND_FIGURES)
	(FILL_FIGURES)
	(FILL_SUBDOMAIN_FIGURES)
	(FILL_IMAGEIF_CFUN_FIGURES)
	(IMA2D_ROT_FIGURES)
	(IMA_SAVE_FIGURES)
	(LABELING_COMPUTE_FIGURES)
	(LOGICAL_NOT_FIGURES)
	(TUTO2_FIRST_IMAGE_FIGURES)
	(TUTO3_COLORIZE_FIGURES)
	(TUTO3_RW_IMAGE_FIGURES)
	(TUTO4_GENERICITY_AND_ALGORITHMS_FIGURES):
	New variables.
	Use them to simplify rules.
	(FIGURES): New variable.
	* doc/Makefile.am (MAINTAINERCLEANFILES): Add $(FIGURES).

430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
2010-03-18  Roland Levillain  <roland@lrde.epita.fr>

	Generate the list of split outputs in the documentation.

	* doc/Makefile.am ($(srcdir)/split-outputs.mk): New rule.
	(regen-split-outputs-mk): New (phony) target.
	($(srcdir)/split-outputs.stamp): Remove rule.
	(refman_dependencies)
	(tutorial_dependencies)
	(ref_guide_dependencies)
	(EXTRA_DIST, MAINTAINERCLEANFILES):
	Remove $(srcdir)/split-outputs.stamp
	Add $(SPLIT_OUTPUTS).
	(regen-am): Remake regen-split-outputs-mk.
	* doc/gen-split-outputs-mk: New script.
	Use it to generate...
	* doc/split-outputs.mk: ...this (new) Make helper.

448
449
450
451
452
453
454
455
456
2010-03-18  Roland Levillain  <roland@lrde.epita.fr>

	Prepare doc source files for the automation of output splitting.

	* doc/examples/tuto3/println.cc,
	* doc/examples/tuto4/site_set_create.cc:
	Use doc::begin_output and doc::end_output instead of hand-made
	delimiters.

457
458
459
460
461
462
2010-03-17  Roland Levillain  <roland@lrde.epita.fr>

	Have split_sample.sh announce the right number of output files.

	* doc/tools/split_sample.sh: Here.

463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
2010-03-17  Roland Levillain  <roland@lrde.epita.fr>

	Fix programs in doc/examples/.

	* doc/examples/ima-save.cc: Add a FIXME.
	* doc/examples/ima-load.cc: Likewise.
	Avoid hard-coded paths.
	* doc/examples/tuto4/image.cc: Make it compile.
	* doc/img/small.pbm: New symbolic link to img/small.pbm.
	* doc/examples/split/ima-load-1.cc.raw: Regen.
	* doc/examples/fill-imageif-cfun.cc,
	* figures.mk,
	* ppm-figures.mk:
	s/fill-subimage-cfun/fill-imageif-cfun/.

478
479
480
481
482
483
484
2010-03-17  Roland Levillain  <roland@lrde.epita.fr>

	Update PNG-to-EPS conversion rule.

	* doc/Makefile.am (.png.eps): No longer try to build figures/ in
	the build directory.

485
486
487
488
489
490
491
2010-03-17  Roland Levillain  <roland@lrde.epita.fr>

	Remove useless paths in texi2dvi invocations.

	* doc/Makefile.am (TEXI2DVI_FLAGS):
	Remove -I $(DOC_SRCDIR)/white_paper.

492
493
494
495
496
497
498
2010-03-17  Roland Levillain  <roland@lrde.epita.fr>

	Update cleaning rules in doc/.

	* doc/Makefile.am (maintainer-clean-local):
	Remove outdated actions.

Roland Levillain's avatar
Roland Levillain committed
499
500
501
502
503
504
505
506
507
508
2010-03-17  Roland Levillain  <roland@lrde.epita.fr>

	Add missing dependencies.

	* doc/Makefile.am (DOC_PACKAGES): Strip useless $(srcdir) prefixes.
	(technical_dependencies)
	(tutorial_dependencies)
	(ref_guide_dependencies):
	Add $(DOC_PACKAGES).

Roland Levillain's avatar
Roland Levillain committed
509
510
511
512
513
514
2010-03-17  Roland Levillain  <roland@lrde.epita.fr>

	Ship non generated outputs.

	* doc/Makefile.am (EXTRA_DIST): Add $(MORE_OUTPUTS).

515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
2010-03-17  Roland Levillain  <roland@lrde.epita.fr>

	Generate the list of outputs in the documentation.

	* doc/Makefile.am (OUTPUTS): Remove this variable that used to be
	populated by hand.
	Include $(srcdir)/outputs.mk.
	No longer include $(srcdir)/outputs/outputs.mk.
	$(srcdir)/outputs.mk: New target.
	(EXTRA_DIST): Add $(OUTPUTS).
	(regen-outputs-mk): New (phony) target.
	(regen-am): Remake regen-outputs-mk.
	Do not recreate $(srcdir)/headers.stamp.tmp.
	(EXTRA_DIST): Remove headers.stamp.
	($(srcdir)/outputs/outputs.mk)
	($(srcdir)/headers.stamp):
	Remove rules.
	(outputs/outputs.mk): Remove this Make helper.
	Supersed by...
	(outputs.mk): ...this (new) Make helper.

536
537
538
539
540
541
542
543
2010-03-17  Roland Levillain  <roland@lrde.epita.fr>

	Handle dependencies of generated figures.

	* doc/figures.mk: New Make helper.
	Include it...
	* doc/Makefile.am: ...here.

544
545
546
547
2010-03-17  Roland Levillain  <roland@lrde.epita.fr>

	* doc/examples-outputs.mk: Regen.

548
549
550
551
552
553
554
555
2010-03-17  Roland Levillain  <roland@lrde.epita.fr>

	Prepare for the generation of multiple outputs from doc/ programs.

	* doc/gen-examples-outputs-mk: Split generated rules in two so
	that they produce a timestamp that outputs (and soon generated
	figures) depend on.

556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
2010-03-17  Roland Levillain  <roland@lrde.epita.fr>

	Generate doc/examples-outputs.mk using sources in lieu of programs.

	* doc/gen-examples-outputs-mk: Take sources as input instead of
	programs.
	* doc/examples-outputs.mk: Regen.
	* doc/Makefile.am ($(DOC_SRCDIR)/examples-outputs.mk):
	Adjust caller.
	Use `find' to get inputs instead of relying on
	$(PROGRAMS_examples).
	Rename target as...
	($(srcdir)/examples-outputs.mk): ...this.
	Depend only on $(srcdir)/gen-examples-outputs-mk, and no longer on
	$(srcdir)/Makefile.am.
	(regen-examples-outputs-mk): Adjust as well.
	* doc/programs-examples.mk: Adjust comments.

574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
2010-03-17  Roland Levillain  <roland@lrde.epita.fr>

	Move bits about programs out of doc/Makefile.am to improve readability.

	* doc/Makefile.am (PROGRAMS_examples)
	(accu_right_instanciation_SOURCES)
	(borderthickness_SOURCES)
	(box2d_bbox_SOURCES)
	(domain_display_SOURCES)
	(dpoint_1_SOURCES)
	(estim_sites_SOURCES)
	(extend_SOURCES)
	(extension_ignore_SOURCES)
	(fill_SOURCES)
	(fill_call_1_SOURCES)
	(fill_imageif_cfun_SOURCES)
	(fill_part_image_SOURCES)
	(fill_subdomain_SOURCES)
	(fill_subdomain_shorter_SOURCES)
	(first_routine_SOURCES)
	(forall_piter_SOURCES)
	(fun_p2v_1_SOURCES)
	(graph_data_SOURCES)
	(graph_iter_SOURCES)
	(ima2d_1_SOURCES)
	(ima2d_2_SOURCES)
	(ima2d_3_SOURCES)
	(ima2d_4_SOURCES)
	(ima2d_5_SOURCES)
	(ima2d_6_clone_SOURCES)
	(ima2d_7_SOURCES)
	(ima2d_rot_SOURCES)
	(ima_has_SOURCES)
	(ima_save_SOURCES)
	(ima_size_SOURCES)
	(labeling_compute_SOURCES)
	(logical_not_SOURCES)
	(mln_var_SOURCES)
	(parray_append_SOURCES)
	(parray_bbox_SOURCES)
	(paste_SOURCES)
	(paste_call_1_SOURCES)
	(point_1_SOURCES)
	(predicate_1_SOURCES)
	(tuto2_first_image_SOURCES)
	(tuto3_colorize_SOURCES)
	(tuto3_println_SOURCES)
	(tuto3_rw_image_SOURCES)
	(tuto3_trace_SOURCES)
	(tuto4_genericity_and_algorithms_SOURCES)
	(tuto4_point2d_SOURCES)
	(tuto4_site_set_create_SOURCES)
	(win_create_1_SOURCES)
	(win_create_2_SOURCES):
	Move variables...
	* doc/programs-examples.mk: ...here (new file).
	(PROGRAMS_examples): Rename first_routine as tuto3_first_routine.
	Add ima-load and tuto4_image.
	(first_routine_SOURCES): Remove this variable.
	Superseded by...
	(tuto3_first_routine_SOURCES): ...this (new) variable.
	(ima_load_SOURCES, tuto4_image_SOURCES): New variables.
	* doc/Makefile.am: Include $(srcdir)/programs-examples.mk.

638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
2010-03-16  Roland Levillain  <roland@lrde.epita.fr>

	Generate the list of split examples in the documentation.

	* doc/gen-split-examples-mk: New script.
	* doc/Makefile.am: Include ($(srcdir)/split-examples.mk).
	($(srcdir)/split-examples.mk): New target.
	(EXTRA_DIST, MAINTAINERCLEANFILES): Add $(SPLIT_EXAMPLES).
	(refman_dependencies)
	(tutorial_dependencies)
	(ref_guide_dependencies):
	Remove $(doc_dir)/split-examples.stamp.
	Add $(SPLIT_EXAMPLES).
	(regen-split-examples-mk): New (phony) target.
	(regen-am): Remake regen-split-examples-mk instead of using
	generate_dist_files.sh.
	($(srcdir)/headers.stamp): No longer call generate_dist_files.sh
	to regen doc/examples/examples.mk.
	No longer include $(srcdir)/examples/examples.mk.
	($(srcdir)/examples/examples.mk, $(srcdir)/split-examples.stamp):
	Remove rules.
	(EXTRA_DIST, MAINTAINERCLEANFILES):
	Remove $(srcdir)/split-examples.stamp.
	(EXTRA_DIST): Add gen-split-examples-mk.
	* doc/split-examples.mk: New (generated) Make helper.
	* doc/examples/examples.mk: Remove.

665
666
667
668
669
670
671
672
673
674
675
676
677
2010-03-16  Roland Levillain  <roland@lrde.epita.fr>

	Generate the list of examples in the documentation.

	* doc/Makefile.am (EXAMPLES): Remove this variable that used to be
	populated by hand.
	Include ($(srcdir)/examples.mk).
	($(srcdir)/examples.mk): New target.
	(EXTRA_DIST): Add $(EXAMPLES).
	(regen-examples-mk): New (phony) target.
	(regen-am): Remake regen-examples-mk.
	* doc/examples.mk: New (generated) Make helper.

678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
2010-03-16  Roland Levillain  <roland@lrde.epita.fr>

	Revamp the conversion of images in the documentation.

	* gen-make-variable: New script.
	* doc/Makefile.am: Include $(srcdir)/pbm-figures.mk,
	($(srcdir)/pgm-figures.mk and $(srcdir)/ppm-figures.mk.
	($(srcdir)/pbm-figures.mk)
	($(srcdir)/pgm-figures.mk)
	($(srcdir)/ppm-figures.mk):
	New targets.
	(EXTRA_DIST): Add $(PBM_FIGURES), $(PGM_FIGURES), $(PPM_FIGURES).
	(regen-pbm-figures-mk)
	(regen-pgm-figures-mk)
	(regen-ppm-figures-mk):
	New (phony target).
	(regen-am): Remake regen-pbm-figures-mk, regen-pgm-figures-mk and
	regen-ppm-figures-mk instead of calling generate_dist_files.sh to
	convert figures.
	($(srcdir)/headers.stamp): No longer call generate_dist_files.sh to
	convert figures.
	(convert_to_png): New variable.
	(SUFFIXES): Add .pbm, .pgm, .ppm and .png.
	(.pbm.png, .pgm.png, .ppm.png): New suffix rules.
	(PNG_FIGURES): New variable.
	(EXTRA_DIST, MAINTAINERCLEANFILES): Add $(PNG_FIGURES).
	(refman_dependencies):
	Remove $(srcdir)/figures.stamp.
	Add $(PNG_FIGURES).
	(technical_dependencies)
	(tutorial_dependencies)
	(ref_guide_dependencies):
	Likewise.
	No longer include $(srcdir)/figures/figures.mk.
	($(srcdir)/figures/figures.mk, $(srcdir)/figures.stamp):
	Remove rules.
	(EXTRA_DIST, MAINTAINERCLEANFILES):
	Remove $(srcdir)/figures.stamp.
	(EXTRA_DIST): Add gen-make-variable.
	* pbm-figures.mk, pgm-figures.mk, ppm-figures.mk:
	New (generated) Make helpers.
	* figures/figures.mk: Remove.

721
722
723
724
725
726
727
2010-03-17  Roland Levillain  <roland@lrde.epita.fr>

	Add a rule to forcefully regen doc/examples-outputs.mk.

	* doc/Makefile.am (regen-examples-outputs-mk): New (phony) target.
	(regen-am): Invoke regen-examples-outputs-mk.

728
729
730
731
732
733
2010-03-16  Roland Levillain  <roland@lrde.epita.fr>

	Ship doc/gen-examples-outputs-mk.

	* doc/Makefile.am (EXTRA_DIST): Add gen-examples-outputs-mk.

734
735
736
737
738
739
740
741
742
743
744
2010-03-18  Roland Levillain  <roland@lrde.epita.fr>

	Fix the regeneration of HTML outputs.

	* doc/Makefile.am
	($(TECHNICAL_HTML_OUTPUTS))
	($(TUTORIAL_HTML_OUTPUTS))
	($(WHITE_PAPER_HTML_OUTPUTS))
	($(REF_GUIDE_HTML_OUTPUTS)):
	Fix tests on targets.

745
746
747
748
749
750
751
752
753
2010-03-15  Roland Levillain  <roland@lrde.epita.fr>

	Distribute and clean documentation timestamps.

	* doc/Makefile.am (EXTRA_DIST, MAINTAINERCLEANFILES):
	Add $(srcdir)/user-refman.stamp, $(srcdir)/devel-refman.stamp,
	$(srcdir)/figures.stamp, $(srcdir)/split-examples.stamp and
	$(srcdir)/split-outputs.stamp.

754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
2010-03-15  Roland Levillain  <roland@lrde.epita.fr>

	Improve doc/'s cleaning rules.

	* doc/Makefile.am (CLEANFILES): Remove
	$(technical_dir)/technical.haux,
	$(tutorial_dir)/tutorial.haux,
	$(ref_guide_dir)/ref_guide.haux and
	$(ref_guide_dir)/ref_guide.htoc.
	(clean-local): Remove (phony) target.
	($(EPSS)): Move...
	(MAINTAINERCLEANFILES): ...here.
	Add $(TECHNICAL_PDF), $(TECHNICAL_HH),
	$(TUTORIAL_PDF), $(TUTORIAL_HH),
	$(WHITE_PAPER_PDF)
	$(REF_GUIDE_PDF) and $(REF_GUIDE_HH).

771
772
773
774
775
776
777
778
779
780
781
2010-03-15  Roland Levillain  <roland@lrde.epita.fr>

	Prevent todoxygen.sh from generating incomplete outputs.

	* doc/tools/todoxygen.sh: Take an output file as second argument
	instead of an output directory.
	* doc/Makefile.am
	($(TECHNICAL_HH), $(TUTORIAL_HH), $(REF_GUIDE_HH)): Adjust.
	Use a temporary file to prevent  todoxygen.sh from generating
	incomplete outputs.

782
783
784
785
786
787
2010-03-15  Roland Levillain  <roland@lrde.epita.fr>

	Adjust todoxygen.sh to TeX4ht outputs.

	* doc/tools/todoxygen.sh: Here.

788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
2010-03-15  Roland Levillain  <roland@lrde.epita.fr>

	Adapt HTML generation to TeX4ht.

	* doc/Makefile.am
	(TECHNICAL_HTML_OUTPUTS, TUTORIAL_HTML_OUTPUTS)
	(WHITE_PAPER_HTML_OUTPUTS, REF_GUIDE_HTML_OUTPUTS):
	New variables.
	($(TECHNICAL_HTML), $(TUTORIAL_HTML))
	($(WHITE_PAPER_HTML), $(REF_GUIDE_HTML)):
	Remove these targets.
	Superseded by...
	($(TECHNICAL_HTML).stamp, $(TECHNICAL_HTML_OUTPUTS))
	($(TUTORIAL_HTML).stamp, $(TUTORIAL_HTML_OUTPUTS))
	($(WHITE_PAPER_HTML).stamp, $(WHITE_PAPER_HTML_OUTPUTS))
	($(REF_GUIDE_HTML).stamp, $(REF_GUIDE_HTML_OUTPUTS)):
	...these (new) targets.
	(EXTRA_DIST, MAINTAINERCLEANFILES): Add $(TECHNICAL_HTML).stamp,
	($(TUTORIAL_HTML).stamp, $(WHITE_PAPER_HTML).stamp and
	$(REF_GUIDE_HTML).stamp.
	(dist_doc_DATA, MAINTAINERCLEANFILES): Remove $(TECHNICAL_HTML),
	$(TUTORIAL_HTML), $(WHITE_PAPER_HTML) and $(REF_GUIDE_HTML).
	Add $(TECHNICAL_HTML_OUTPUTS), $(TUTORIAL_HTML_OUTPUTS),
	$(WHITE_PAPER_HTML_OUTPUTS) and $(REF_GUIDE_HTML_OUTPUTS).

813
814
815
816
817
818
819
820
821
822
823
2010-03-15  Roland Levillain  <roland@lrde.epita.fr>

	Use texi2dvi to produce HTML from LaTeX.

	* doc/Makefile.am
	(TEXI2DVI_FLAGS): Add -I $(DOC_SRCDIR)/white_paper.
	($(TECHNICAL_PDF), $(TUTORIAL_PDF))
	($(WHITE_PAPER_PDF), $(REF_GUIDE_PDF)):
	Reduce these rules to a list of extra dependencies and let the
	generic tex-to-html rule do the job.

824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
2010-03-12  Roland Levillain  <roland@lrde.epita.fr>

	Split LaTeX-to-HTML rules to clear things up.

	* doc/tools/todoxygen.sh: Take a HTML file as input instead of a
	LaTeX one.
	* doc/Makefile.am (DOC_PACKAGES): New variable.
	(TECHNICAL_HTML, TUTORIAL_HTML, REF_GUIDE_HTML):
	New variables.
	($(TECHNICAL_HTML), $(TUTORIAL_HTML), $(REF_GUIDE_HTML)):
	New targets.
	(dist_doc_DATA): Add $(TECHNICAL_HTML), $(TUTORIAL_HTML) and
	$(REF_GUIDE_HTML).
	($(TECHNICAL_HH)): Depend on and process $(TECHNICAL_HTML) instead
	of $(technical_dir)/technical.tex.
	($(TUTORIAL_HH)): Depend on and process $(TUTORIAL_HTML) instead
	of $(tutorial_dir)/tutorial.tex.
	($(REF_GUIDE_HH)): Depend on and process $(REF_GUIDE_HTML) instead
	of $(ref_guide_dir)/ref_guide.tex.
	(CLEANFILES): Remove now useless patterns.
	(clean-local): Likewise.
	Adjust paths.

847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
2010-03-12  Roland Levillain  <roland@lrde.epita.fr>

	List non generated documentation outputs separately.

	* doc/Makefile.am (OUTPUTS, EXAMPLES):
	Sort in lexicographical order.
	Remove $(srcdir)/outputs/ima2d-decl-2.txt
	Move $(srcdir)/outputs/graph-output-1.txt,
	$(srcdir)/outputs/ima2d-display-1.txt,
	$(srcdir)/outputs/ima2d-display-2.txt,
	$(srcdir)/outputs/ima2d-display-output-1.txt,
	$(srcdir)/outputs/ima2d-display-output-2.txt,
	$(srcdir)/outputs/parray-display-1.txt and
	$(srcdir)/outputs/win-create-1-display.txt...
	(MORE_OUTPUTS): ...here (new variable).
	* doc/outputs/ima2d-decl-2.txt: Remove.

864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
2010-03-12  Roland Levillain  <roland@lrde.epita.fr>

	Use texi2dvi to produce PDF from LaTeX.

	* doc/Makefile.am: Include $(top_srcdir)/build-aux/tex.mk.
	(TEXI2DVI_FLAGS): Append -I $(DOC_SRCDIR), -I $(OUTPUTS_SRCDIR),
	-I $(SPLIT_OUTPUTS_SRCDIR), -I $(IMG_SRCDIR) and -I
	$(SPLIT_EXAMPLES_SRCDIR).
	(technical_TEXINPUTS, tutorial_TEXINPUTS)
	(white_paper_TEXINPUTS, ref_guide_TEXINPUTS):
	Remove variables.
	($(TECHNICAL_PDF), $(TUTORIAL_PDF))
	($(WHITE_PAPER_PDF), $(REF_GUIDE_PDF)):
	Reduce these rules to a list of extra dependencies and let the
	generic tex-to-pdf rule do the job.
	($(WHITE_PAPER_HTML)): Adjust rule.

881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
2010-03-12  Roland Levillain  <roland@lrde.epita.fr>

	Merge doc/ Makefile helpers into doc/Makefile.am.

	* milena/doc/doc.mk,
	* milena/doc/examples/make.mk,
	* milena/doc/ref_guide/ref_guide.mk,
	* milena/doc/technical/technical.mk,
	* milena/doc/tutorial/tutorial.mk,
	* milena/doc/white_paper/white_paper.mk:
	Remove and inline these files...
	* doc/Makefile.am: ...here.
	Do not include $(top_srcdir)/milena/tests/tests.mk.
	(AM_CPPFLAGS): Add -I$(top_srcdir)/milena and
	-I$(top_builddir)/milena.
	($(DOC_SRCDIR)/examples-outputs.mk): Depend on
	$(srcdir)/Makefile.am instead of $(srcdir)/examples/make.mk.

899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
2010-03-12  Roland Levillain  <roland@lrde.epita.fr>

	Improve dependencies of some documentation products.

	* doc/ref_guide/ref_guide.mk (ref_guide_dependencies):
	New variable.
	Use it to define dependencies of...
	($(REF_GUIDE_HH), $(REF_GUIDE_PDF)):
	...these targets.
	* doc/technical/technical.mk (technical_dependencies):
	New variable.
	Use it to define dependencies of...
	($(TECHNICAL_HH), $(TECHNICAL_PDF)):
	...these targets.
	* doc/tutorial/tutorial.mk (tutorial_dependencies):
	New variable.
	Use it to define dependencies of...
	($(TUTORIAL_HH), $(TUTORIAL_PDF)):
	...these targets.

919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2010-03-12  Roland Levillain  <roland@lrde.epita.fr>

	Revamp the Makefile machinery in milena/doc/examples/.

	* doc/gen-examples-outputs-mk: New script.
	* doc/examples/make.mk (PROGRAMS_examples):
	Sort and remove duplicates.
	(examples_dir): Remove variable.
	(accu_right_instanciation_SOURCES)
	(borderthickness_SOURCES)
	(box2d_bbox_SOURCES)
	(domain_display_SOURCES)
	(dpoint_1_SOURCES)
	(estim_sites_SOURCES)
	(extend_SOURCES)
	(extension_ignore_SOURCES)
	(fill_SOURCES)
	(fill_call_1_SOURCES)
	(fill_imageif_cfun_SOURCES)
	(fill_part_image_SOURCES)
	(fill_subdomain_SOURCES)
	(fill_subdomain_shorter_SOURCES)
	(first_routine_SOURCES)
	(forall_piter_SOURCES)
	(fun_p2v_1_SOURCES)
	(graph_data_SOURCES)
	(graph_iter_SOURCES)
	(ima2d_1_SOURCES)
	(ima2d_2_SOURCES)
	(ima2d_3_SOURCES)
	(ima2d_4_SOURCES)
	(ima2d_5_SOURCES)
	(ima2d_6_clone_SOURCES)
	(ima2d_7_SOURCES)
	(ima2d_rot_SOURCES)
	(ima_has_SOURCES)
	(ima_save_SOURCES)
	(ima_size_SOURCES)
	(labeling_compute_SOURCES)
	(logical_not_SOURCES)
	(mln_var_SOURCES)
	(parray_append_SOURCES)
	(parray_bbox_SOURCES)
	(paste_SOURCES)
	(paste_call_1_SOURCES)
	(point_1_SOURCES)
	(predicate_1_SOURCES)
	(win_create_1_SOURCES)
	(win_create_2_SOURCES)
	(tuto2_first_image_SOURCES)
	(tuto3_rw_image_SOURCES)
	(tuto4_genericity_and_algorithms_SOURCES)
	(tuto3_colorize_SOURCES)
	(tuto3_println_SOURCES)
	(tuto3_trace_SOURCES)
	(tuto4_point2d_SOURCES)
	(tuto4_site_set_create_SOURCES):
	Adjust.
	(data-regen, examples, run-examples)
	Remove (phony) targets.
	(split-examples, split-outputs):
	Likewise.
	Superseded by...
	($(srcdir)/split-examples.stamp, $(srcdir)/split-outputs.stamp):
	...these (new) targets.
	(OUTPUTS, EXAMPLES): New variable.
	($(DOC_SRCDIR)/examples-outputs.mk): New target.
	Include $(DOC_SRCDIR)/examples-outputs.mk.
	(MAINTAINERCLEANFILES): Ad $(OUTPUTS).
	(diff-data, fix-refdata): Remove these (phony) targets, as they
	duplicate services provided by the SCM (Git).
	(clean-local, clean-figures): Remove these targets and add their
	actions...
	* doc/Makefile.am (maintainer-clean-local): ...to this rule.
	(EXTRA_DEPS): Remove variable.
	Superseded by...
	(refman_dependencies): ...this (new) variable.
	($(srcdir)/user-refman.stamp)
	($(srcdir)/devel-refman.stamp):
	Adjust targets' dependencies.
	(fig-convert): Remove (phony) target.
	Clean up.