1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
PYTHON_VERSION=2.4
PYTHON=python${PYTHON_VERSION}
# Not all packages have a working Makefile. Work around this by hardcoding the ones we test.
# If we fix them all to have EITHER a good makefile (build and check targets work), or no makefile
# we can reenable auto detection.
test_dirs:=buildbot cscvs gnarly pybaz pygettextpo pyme pytz sqlobject zope
# test_dirs:=$(shell find . -maxdepth 1 -mindepth 1 -name ".arch-ids" -prune -o -type d -print | grep -v pyarch)
all:
check: build
@ for subdir in ${test_dirs}; do \
$(MAKE) -C $$subdir check \
PYTHON=${PYTHON} PYTHON_VERSION=${PYTHON_VERSION} || exit $$?;\
done
build:
@ for subdir in ${test_dirs}; do\
if [ -e $$subdir/Makefile ]; then\
$(MAKE) -C $$subdir \
PYTHON=${PYTHON} PYTHON_VERSION=${PYTHON_VERSION} \
|| exit $$?;\
fi\
done
.PHONY: check all build
|