* python/Makefile.am (nodist__dynamic_image2d_la_SOURCES): Add
dynamic_image2d-wrap.h.
(CLEANFILES): Add closing.pgm, closing_area.pgm, dilation.pgm,
erosion.pgm, gradient.pgm, gradient_external.pgm,
gradient_internal.pgm, opening.pgm, opening_area.pgm and segm.pgm.
---
swilena/ChangeLog | 10 ++++++++++
swilena/python/Makefile.am | 19 ++++++++++++++++++-
2 files changed, 28 insertions(+), 1 deletions(-)
diff --git a/swilena/ChangeLog b/swilena/ChangeLog
index 945c8b9..3c34236 100644
--- a/swilena/ChangeLog
+++ b/swilena/ChangeLog
@@ -1,3 +1,13 @@
+2009-07-13 Roland Levillain <roland(a)lrde.epita.fr>
+
+ Fix the Swilena distribution.
+
+ * python/Makefile.am (nodist__dynamic_image2d_la_SOURCES): Add
+ dynamic_image2d-wrap.h.
+ (CLEANFILES): Add closing.pgm, closing_area.pgm, dilation.pgm,
+ erosion.pgm, gradient.pgm, gradient_external.pgm,
+ gradient_internal.pgm, opening.pgm, opening_area.pgm and segm.pgm.
+
2009-06-10 Roland Levillain <roland(a)lrde.epita.fr>
* Makefile.am (wrappers): Add config.i.
diff --git a/swilena/python/Makefile.am b/swilena/python/Makefile.am
index 24eff65..aec8a05 100644
--- a/swilena/python/Makefile.am
+++ b/swilena/python/Makefile.am
@@ -176,7 +176,11 @@ nodist_python_PYTHON += image2d_int_u8.py
## dynamic_image2d.
pyexec_LTLIBRARIES += _dynamic_image2d.la
-nodist__dynamic_image2d_la_SOURCES = dynamic_image2d-wrap.cc
+# Swig also generates a header for this module, since it makes use of
+# directors.
+nodist__dynamic_image2d_la_SOURCES = \
+ dynamic_image2d-wrap.h \
+ dynamic_image2d-wrap.cc
_dynamic_image2d_la_LIBADD = $(AM_LIBADD)
CLEANFILES += $(nodist__dynamic_image2d_la_SOURCES) dynamic_image2d.py
dynamic_image2d.py[co]
## Include the dependency files. Copied from Automake's generated
@@ -232,3 +236,16 @@ TESTS = \
image2d-misc.py morpho-fun.py morpho-segm.py dynamic-image2d-misc.py
EXTRA_DIST += $(TESTS)
+
+# Images generated by tests.
+CLEANFILES += \
+ closing.pgm \
+ closing_area.pgm \
+ dilation.pgm \
+ erosion.pgm \
+ gradient.pgm \
+ gradient_external.pgm \
+ gradient_internal.pgm \
+ opening.pgm \
+ opening_area.pgm \
+ segm.pgm
--
1.6.1.2
Show replies by date