diff options
Diffstat (limited to 'tools/xenmgr/Makefile')
-rw-r--r-- | tools/xenmgr/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tools/xenmgr/Makefile b/tools/xenmgr/Makefile new file mode 100644 index 0000000000..125f8cf4e8 --- /dev/null +++ b/tools/xenmgr/Makefile @@ -0,0 +1,19 @@ + +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 + mkdir -p $(prefix)/usr/sbin + install -m0755 xenmgrd $(prefix)/usr/sbin + install -m0755 xend $(prefix)/usr/sbin + install -m0755 netfix $(prefix)/usr/sbin + +clean: + rm -rf build *.pyc *.pyo *.o *.a *~ |