annotate 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
rev   line source
kaf24@3549 1
kaf24@3549 2 XEN_ROOT = ../..
kaf24@3549 3 include $(XEN_ROOT)/tools/Rules.mk
mjw@1623 4
doogie@4109 5 all: build
doogie@4109 6 build:
kaf24@3549 7 CFLAGS="$(CFLAGS)" python setup.py build
mjw@1623 8
kaf24@4110 9 ifndef XEN_PYTHON_NATIVE_INSTALL
mjw@1623 10 install: all
kaf24@3549 11 CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr"
kaf24@4110 12 else
kaf24@4110 13 install: all
kaf24@4110 14 CFLAGS="$(CFLAGS)" python setup.py install --root="$(DESTDIR)"
kaf24@4110 15 endif
mjw@1623 16
mjw@1623 17 clean:
mjw@1623 18 rm -rf build *.pyc *.pyo *.o *.a *~