summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2008-06-22 17:01:06 +0200
committerHans Ulrich Niedermann <hun@n-dimensional.de>2008-07-15 12:28:51 +0200
commit7db16ebc9e7bf05b73169d233c015a2a16379f45 (patch)
treee86fcc3f95616d130b8ca1728360152ef3ec5074
parent0639c23078ef7c06f766130c63eafabe09de3a19 (diff)
Clean copied *.py when done with them
-rw-r--r--nbb/Makefile-files8
1 files changed, 8 insertions, 0 deletions
diff --git a/nbb/Makefile-files b/nbb/Makefile-files
index 41c2a40..354e255 100644
--- a/nbb/Makefile-files
+++ b/nbb/Makefile-files
@@ -52,5 +52,13 @@ endif
clean-local: clean-local-nbblib
clean-local-nbblib:
rm -f nbb/nbblib/*.pyc
+ @top_srcdir="$$(cd "$(top_srcdir)" > /dev/null 2>&1 && pwd)"; \
+ top_builddir="$$(cd "$(top_builddir)" > /dev/null 2>&1 && pwd)"; \
+ if test "x$${top_srcdir}" = "x$${top_builddir}"; then :; else \
+ for f in $(nbblib_PYTHON); do \
+ echo rm -f "$(top_builddir)/$$f"; \
+ rm -f "$(top_builddir)/$$f"; \
+ done; \
+ fi
# End of Makefile-files.