ia64/xen-unstable

view tools/python/Makefile @ 6385:f34e732ed4bf

Xenstore testsuite robustness: save output rather than rerun on failure.
"make check" reruns a test which fails with more verbosity. If the test
fails intermittently, that doesn't work well: save the output and simply
dump it if the test fails.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Tue Aug 23 19:58:59 2005 +0000 (2005-08-23)
parents a01199a95070
children 723f81936cf7 4d899a738d59 b35215021b32 8ca0f98ba8e2
line source
2 XEN_ROOT = ../..
3 include $(XEN_ROOT)/tools/Rules.mk
5 all: build
6 build:
7 CFLAGS="$(CFLAGS)" python setup.py build
9 ifndef XEN_PYTHON_NATIVE_INSTALL
10 install: all
11 CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr"
12 else
13 install: all
14 CFLAGS="$(CFLAGS)" python setup.py install --root="$(DESTDIR)"
15 endif
17 clean:
18 rm -rf build *.pyc *.pyo *.o *.a *~