* python/Makefile.am (data.py): Here.
---
swilena/ChangeLog | 6 ++++++
swilena/python/Makefile.am | 4 +---
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/swilena/ChangeLog b/swilena/ChangeLog
index 0bd7e9a..2946543 100644
--- a/swilena/ChangeLog
+++ b/swilena/ChangeLog
@@ -1,5 +1,11 @@
2013-04-09 Roland Levillain <roland(a)lrde.epita.fr>
+ Simplify Swilena's python/Makefile.am.
+
+ * python/Makefile.am (data.py): Here.
+
+2013-04-09 Roland Levillain <roland(a)lrde.epita.fr>
+
Simplify some Swilena Python test cases.
* python/data.py.in (lena): Use small.pgm instead of lena.pgm.
diff --git a/swilena/python/Makefile.am b/swilena/python/Makefile.am
index 7752bab..8290c26 100644
--- a/swilena/python/Makefile.am
+++ b/swilena/python/Makefile.am
@@ -68,9 +68,7 @@ all-local: data.py
EXTRA_DIST = data.py.in
data.py: data.py.in Makefile
rm -f $@ $@.tmp
- srcdir=''; \
- test -f ./$< || srcdir=$(srcdir)/; \
- $(edit) $${srcdir}$< >>$@.tmp
+ $(edit) $< >$@.tmp
chmod a-w $@.tmp
mv $@.tmp $@
--
1.7.2.5
Show replies by date