aboutsummaryrefslogtreecommitdiffstats
path: root/tools/pygrub
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-03-07 10:49:20 +0000
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-03-07 10:49:20 +0000
commit9de4f0c67def5ab75c4f5a9a4428b719e149e8b2 (patch)
treeb4cb36609da6cee29432b58dfc37c6b8dcf917be /tools/pygrub
parentd4ac34aff9f66f57c164120ba5daf74109b35e91 (diff)
downloadxen-9de4f0c67def5ab75c4f5a9a4428b719e149e8b2.tar.gz
xen-9de4f0c67def5ab75c4f5a9a4428b719e149e8b2.tar.bz2
xen-9de4f0c67def5ab75c4f5a9a4428b719e149e8b2.zip
tools: Clean up use of 'install' command.
- convert raw "install" command to use $(INSTALL) - convert some $(INSTALL) to $(INSTALL_DATA) as appropriate - modify the specific $(INSTALL) definitions to use -p. Original patch by Ben Thomas <ben@virtualiron.com> Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/pygrub')
-rw-r--r--tools/pygrub/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/pygrub/Makefile b/tools/pygrub/Makefile
index f96dd03aa3..3629d89742 100644
--- a/tools/pygrub/Makefile
+++ b/tools/pygrub/Makefile
@@ -13,11 +13,11 @@ ifndef XEN_PYTHON_NATIVE_INSTALL
install: LIBPATH=$(shell PYTHONPATH=../python/xen/util python -c "import auxbin; print auxbin.libpath()")
install: all
CC="$(CC)" CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr" --prefix="" --install-lib="$(DESTDIR)$(LIBPATH)/python"
- $(INSTALL_DIR) -p $(DESTDIR)/var/run/xend/boot
+ $(INSTALL_DIR) $(DESTDIR)/var/run/xend/boot
else
install: all
CC="$(CC)" CFLAGS="$(CFLAGS)" python setup.py install --root="$(DESTDIR)"
- $(INSTALL_DIR) -p $(DESTDIR)/var/run/xend/boot
+ $(INSTALL_DIR) $(DESTDIR)/var/run/xend/boot
endif
.PHONY: clean