Fully clean Python examples and test-suite

This commit is contained in:
Karl Wette 2014-05-28 23:59:46 +02:00
commit cc0738bbda
3 changed files with 10 additions and 5 deletions

View file

@ -35,6 +35,11 @@ static:
clean:
$(MAKE) -f $(TOP)/Makefile SRCDIR='$(SRCDIR)' python_clean
if test "x$(SRCDIR)" != x; then \
for file in `cd $(SRCDIR) && find . -type f -name __init__.py`; do \
rm -f "$$file" || exit 1; \
done; \
fi; \
for s in $(import_packages_subdirs); do \
(cd $$s && $(MAKE) clean); \
done