diff options
Diffstat (limited to 'Examples/python')
-rw-r--r-- | Examples/python/import_packages/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Examples/python/import_packages/Makefile b/Examples/python/import_packages/Makefile index 129495cbd..b87ed7fc7 100644 --- a/Examples/python/import_packages/Makefile +++ b/Examples/python/import_packages/Makefile @@ -10,10 +10,12 @@ import_packages_subdirs = \ from_init3 \ relativeimport1 \ relativeimport2 \ - relativeimport3 \ - split_modules + relativeimport3 + check: build + cd split_modules && $(MAKE) check + cd namespace_pkg && $(MAKE) check if test "x$(SRCDIR)" != x; then \ for file in `cd $(SRCDIR) && find . -type f -name __init__.py`; do \ cp "${SRCDIR}$$file" "$$file" || exit 1; \ @@ -24,6 +26,8 @@ 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 @@ -34,6 +38,8 @@ 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 \ |