* doc/Makefile.am (TECHNICAL_EXAMPLES, MORE_EXAMPLES):
New variables.
(EXTRA_DIST): Add $(TECHNICAL_EXAMPLES) and $(MORE_EXAMPLES).
---
milena/ChangeLog | 8 ++++++++
milena/doc/Makefile.am | 17 +++++++++++++++++
2 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index 90dc6e6..f561db9 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,5 +1,13 @@
2010-03-18 Roland Levillain <roland(a)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).
+
+2010-03-18 Roland Levillain <roland(a)lrde.epita.fr>
+
Have ``make maintainer-clean'' remove generated figures in doc/.
* doc/figures.mk
diff --git a/milena/doc/Makefile.am b/milena/doc/Makefile.am
index 5d71933..8e1a4f0 100644
--- a/milena/doc/Makefile.am
+++ b/milena/doc/Makefile.am
@@ -221,6 +221,23 @@ regen-examples-mk:
mv -f $(srcdir)/examples.mk.tmp $(srcdir)/examples.mk
chmod -w $(srcdir)/examples.mk
+# Examples used in the technical documentation.
+TECHNICAL_EXAMPLES = \
+ examples/devel/dispatch.cc.raw \
+ examples/devel/facade.cc.raw \
+ examples/devel/impl.cc.raw
+EXTRA_DIST += $(TECHNICAL_EXAMPLES)
+
+# Non generated examples.
+MORE_EXAMPLES = \
+ examples/accu-wrong-instanciation.cc.raw \
+ examples/fill-proto.cc.raw \
+ examples/ima2d-restricted-1.cc.raw \
+ examples/ima2d-restricted-2.cc.raw \
+ examples/ima2d-restricted-3.cc.raw \
+ examples/tuto3/fill_non_generic.cc.raw
+EXTRA_DIST += $(MORE_EXAMPLES)
+
## ---------------- ##
## Split examples. ##
## ---------------- ##
--
1.5.6.5