* bootstrap: Here.
---
ChangeLog | 6 ++++++
bootstrap | 12 +++++++++++-
2 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index a5dbe84..524143f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-03-16 Roland Levillain <roland(a)lrde.epita.fr>
+
+ Catch up with milena/doc figure generators.
+
+ * bootstrap: Here.
+
2010-03-15 Roland Levillain <roland(a)lrde.epita.fr>
Disable the implicit generation of HTML from LaTeX.
diff --git a/bootstrap b/bootstrap
index 18a65b1..9c03711 100755
--- a/bootstrap
+++ b/bootstrap
@@ -161,7 +161,17 @@ run scribo `pwd`/build-aux/generate_dist_headers.sh . headers.mk
nodist-headers
# Generate lists of files to be part of the distribution
# for the tutorial.
-run milena/doc/ ./generate_dist_files.sh figures 'p*m'
+# * Figures.
+gen_doc_figures()
+{
+ milena/doc/gen-make-variable "$1" \
+ `find milena/doc/figures/*.$2 | sed 's,^milena/doc,\$(srcdir),'` \
+ >"milena/doc/$2-figures.mk" \
+ || fatal "unexpected failure: $@"
+}
+gen_doc_figures PBM_FIGURES pbm
+gen_doc_figures PGM_FIGURES pgm
+gen_doc_figures PPM_FIGURES ppm
run milena/doc/ ./generate_dist_files.sh outputs txt
run milena/doc/ ./generate_dist_files.sh examples cc.raw
--
1.5.6.5
Show replies by date