diff --git a/Examples/python/import_packages/Makefile b/Examples/python/import_packages/Makefile index b87ed7fc7..bb6fb44fe 100644 --- a/Examples/python/import_packages/Makefile +++ b/Examples/python/import_packages/Makefile @@ -10,12 +10,12 @@ import_packages_subdirs = \ from_init3 \ relativeimport1 \ relativeimport2 \ - relativeimport3 - + relativeimport3 \ + split_modules +# cd split_modules && $(MAKE) check check: build - cd split_modules && $(MAKE) check - cd namespace_pkg && $(MAKE) check + echo "SRCDIR=$(SRCDIR)" if test "x$(SRCDIR)" != x; then \ for file in `cd $(SRCDIR) && find . -type f -name __init__.py`; do \ cp "${SRCDIR}$$file" "$$file" || exit 1; \ @@ -26,8 +26,6 @@ check: build done build: - cd split_modules && $(MAKE) SWIGOPT='$(SWIGOPT)' LIBS='$(LIBS)' build - cd namespace_pkg && $(MAKE) SWIGOPT='$(SWIGOPT)' LIBS='$(LIBS)' build for s in $(import_packages_subdirs); do \ (cd $$s && $(MAKE) SWIGOPT='$(SWIGOPT)' LIBS='$(LIBS)' build); \ done @@ -38,8 +36,6 @@ static: done clean: - cd split_modules && $(MAKE) clean - cd namespace_pkg && $(MAKE) 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 \