---
milena/ChangeLog | 4 ++++
milena/doc/Makefile.am | 11 ++++++++---
2 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index 7e1b63d..afd6cd2 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,3 +1,7 @@
+2009-07-17 Guillaume Lazzara <lazzara(a)lrde.epita.fr>
+
+ * doc/Makefile.am: Fix fake-doc rule..
+
2009-07-16 Edwin Carlinet <carlinet(a)lrde.epita.fr>
Fix dependencies errors in accu/stat Makefile.
diff --git a/milena/doc/Makefile.am b/milena/doc/Makefile.am
index 1580c1f..61b949f 100644
--- a/milena/doc/Makefile.am
+++ b/milena/doc/Makefile.am
@@ -157,9 +157,16 @@ fix-refdata:
cd examples && $(MAKE) $(AM_MAKEFLAGS) $@
+# Make sure the figures are the first files in EXTRA_DIST.
+# Make the 'fake-doc' rule works correctly.
+EXTRA_DIST =
+$(srcdir)/figures/figures.mk: $(srcdir)/headers.stamp
+include $(srcdir)/figures/figures.mk
+
+
fig-convert: $(srcdir)/figures.stamp
-EXTRA_DIST = figures.stamp
+EXTRA_DIST += figures.stamp
$(srcdir)/figures.stamp: $(FIGURES_SRCDIR)/*.p*m
rm -f $@.tmp
touch $@.tmp
@@ -219,7 +226,6 @@ regen-am:
@mv -f $(srcdir)/headers.stamp.tmp $(srcdir)/headers.stamp
$(srcdir)/examples/examples.mk: $(srcdir)/headers.stamp
-$(srcdir)/figures/figures.mk: $(srcdir)/headers.stamp
$(srcdir)/outputs/outputs.mk: $(srcdir)/headers.stamp
@@ -234,7 +240,6 @@ $(srcdir)/headers.stamp: $(srcdir)/generate_dist_files.sh
include $(srcdir)/examples/examples.mk
-include $(srcdir)/figures/figures.mk
include $(srcdir)/outputs/outputs.mk
--
1.5.6.5
Show replies by date