10637.3.3
by Guilherme Salgado
Get rid of PYTHON_VERSION from all Makefiles and use a customized pygettextpo which uses the default system python instead of what's defined in PYTHON_VERSION |
1 |
PYTHON=python |
6415.6.20
by Leonard Richardson
Added wadllib test. |
2 |
# Not all packages have a working Makefile. Work around this by hardcoding
|
3 |
# the ones we test. If we fix them all to have EITHER a good makefile
|
|
4 |
# (build and check targets work), or no makefile we can reenable auto
|
|
5 |
# detection.
|
|
9964.1.1
by Francis J. Lacoste
twisted dependency was moved to buildout |
6 |
build_dirs:=cscvs dulwich pygettextpo pygpgme subvertpy |
7 |
test_dirs:=cscvs pygettextpo |
|
6415.6.20
by Leonard Richardson
Added wadllib test. |
8 |
|
10637.3.3
by Guilherme Salgado
Get rid of PYTHON_VERSION from all Makefiles and use a customized pygettextpo which uses the default system python instead of what's defined in PYTHON_VERSION |
9 |
TEST_ENV_VARS = PYTHON=$(PYTHON) |
6415.6.20
by Leonard Richardson
Added wadllib test. |
10 |
|
11 |
all: |
|
12 |
||
9264.4.2
by Gary Poster
remove zope branch more thoroughly (and a few other similar cleanups) |
13 |
check: build |
6415.6.20
by Leonard Richardson
Added wadllib test. |
14 |
@ for subdir in ${test_dirs}; do \ |
15 |
$(MAKE) -C $$subdir check $(TEST_ENV_VARS) || exit $$?;\ |
|
16 |
done
|
|
17 |
||
18 |
build: |
|
19 |
@ for subdir in ${build_dirs}; do\ |
|
20 |
if [ -e $$subdir/Makefile ]; then\
|
|
21 |
$(MAKE) -C $$subdir $(TEST_ENV_VARS) || exit $$?;\
|
|
22 |
fi;\
|
|
23 |
done
|
|
24 |
||
9894.3.1
by Brad Crittenden
Added a clean target to sourcecode/Makefile. |
25 |
clean: |
26 |
@ for subdir in ${build_dirs}; do\ |
|
27 |
if [ -e $$subdir/Makefile ]; then\
|
|
9894.3.2
by Brad Crittenden
Improvements suggested by allenap. |
28 |
(cd $$subdir && bzr clean-tree --ignored --force) || exit $$?;\
|
9894.3.1
by Brad Crittenden
Added a clean target to sourcecode/Makefile. |
29 |
fi;\
|
30 |
done
|
|
31 |
||
32 |
.PHONY: check all build clean |