avoid the shell checks involving __init__.py
This commit is contained in:
parent
621325a7dd
commit
f3c373a584
1 changed files with 8 additions and 2 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue