aboutsummaryrefslogtreecommitdiffstats
path: root/tools/python/Makefile
diff options
context:
space:
mode:
authormjw@wray-m-3.hpl.hp.com <mjw@wray-m-3.hpl.hp.com>2004-06-29 18:10:39 +0000
committermjw@wray-m-3.hpl.hp.com <mjw@wray-m-3.hpl.hp.com>2004-06-29 18:10:39 +0000
commit48e9a9c636cfbf00a1468f3a3dffe932e3e01a19 (patch)
treed0dc3b91c0fa176b1afe4bb22c8a37a34850f6c3 /tools/python/Makefile
parent4db27a4b7ac9a8b0a3f2aa25a7795ff8731281b3 (diff)
downloadxen-48e9a9c636cfbf00a1468f3a3dffe932e3e01a19.tar.gz
xen-48e9a9c636cfbf00a1468f3a3dffe932e3e01a19.tar.bz2
xen-48e9a9c636cfbf00a1468f3a3dffe932e3e01a19.zip
bitkeeper revision 1.1026.1.8 (40e1b09foCFBM0EuIgrSA1uLJrWuzA)
Restructuring the python code and libs - first stage.
Diffstat (limited to 'tools/python/Makefile')
-rw-r--r--tools/python/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/python/Makefile b/tools/python/Makefile
new file mode 100644
index 0000000000..7dc74a1072
--- /dev/null
+++ b/tools/python/Makefile
@@ -0,0 +1,15 @@
+
+all:
+ python setup.py build
+
+install: all
+ if [ "$(prefix)" = "" ]; then \
+ python setup.py install; \
+ elif [ "$(dist)" = "yes" ]; then \
+ python setup.py install --home="$(prefix)"; \
+ else \
+ python setup.py install --root="$(prefix)"; \
+ fi
+
+clean:
+ rm -rf build *.pyc *.pyo *.o *.a *~