summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Romberg <mike-romberg@comcast.net>2016-06-03 13:26:12 -0600
committerMike Romberg <mike-romberg@comcast.net>2016-06-03 13:26:12 -0600
commitf1aea15cf7562fe348e0a9653e02587f9ea1efd1 (patch)
tree38fe3289d907f1e6cc65930d6c1f715aa7ef7391
parentf3c373a584fecafebc0c72bb53c96fe0acaf3edb (diff)
downloadswig-f1aea15cf7562fe348e0a9653e02587f9ea1efd1.tar.gz
debug
-rw-r--r--Examples/python/import_packages/Makefile12
1 files changed, 4 insertions, 8 deletions
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 \