~launchpad-pqm/launchpad/devel

1746 by Canonical.com Patch Queue Manager
[r=jamesh] Simple database restoration script and sampledata fixes
1
PYTHON_VERSION=2.4
2
PYTHON=python${PYTHON_VERSION}
3
1711 by Canonical.com Patch Queue Manager
Remove pyarch dependency from launchpad. r=spiv
4
test_dirs:=$(shell find . -maxdepth 1 -mindepth 1 -name ".arch-ids" -prune -o -type d -print | grep -v pyarch)
809 by Canonical.com Patch Queue Manager
Nuke some arch-tags
5
6
all:
7
8
check: build
63.1.90 by Robert Collins
add pybaz link, and reenable test suites for buildbot/cscvs etc
9
	@ for subdir in ${test_dirs}; do \
1746 by Canonical.com Patch Queue Manager
[r=jamesh] Simple database restoration script and sampledata fixes
10
		$(MAKE) -C $$subdir check \
11
		PYTHON=${PYTHON} PYTHON_VERSION=${PYTHON_VERSION} || exit $$?;\
63.1.90 by Robert Collins
add pybaz link, and reenable test suites for buildbot/cscvs etc
12
	done
809 by Canonical.com Patch Queue Manager
Nuke some arch-tags
13
14
build:
15
	@ for subdir in ${test_dirs}; do\
16
		if [ -e $$subdir/Makefile ]; then\
1746 by Canonical.com Patch Queue Manager
[r=jamesh] Simple database restoration script and sampledata fixes
17
			$(MAKE) -C $$subdir \
18
			PYTHON=${PYTHON} PYTHON_VERSION=${PYTHON_VERSION} \
19
			       || exit $$?;\
809 by Canonical.com Patch Queue Manager
Nuke some arch-tags
20
		fi\
21
	done
22
23
.PHONY: check all build
24
25