aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xentrace/Makefile
diff options
context:
space:
mode:
authoriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>2005-01-22 21:34:34 +0000
committeriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>2005-01-22 21:34:34 +0000
commit6b422c28fad9b0c0a9caf5c98eb8db1d7914e976 (patch)
tree9ac7c81ead8ad08baa150576d398370583c433e4 /tools/xentrace/Makefile
parentdbaf99ecd4456954accb1e84013d857bb0ac2808 (diff)
downloadxen-6b422c28fad9b0c0a9caf5c98eb8db1d7914e976.tar.gz
xen-6b422c28fad9b0c0a9caf5c98eb8db1d7914e976.tar.bz2
xen-6b422c28fad9b0c0a9caf5c98eb8db1d7914e976.zip
bitkeeper revision 1.1159.223.18 (41f2c6eamwtTkjdrv4CuL1WnOy4iGw)
Description: use INSTALL everywhere Use install(by way of INSTALL variables) to create directories, install programs, and install data files. From: Adam Heath <doogie@brainfood.com> Signed-off-by: ian.pratt@cl.cam.ac.uk
Diffstat (limited to 'tools/xentrace/Makefile')
-rw-r--r--tools/xentrace/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/tools/xentrace/Makefile b/tools/xentrace/Makefile
index 1b13bd9d8b..c2545762a3 100644
--- a/tools/xentrace/Makefile
+++ b/tools/xentrace/Makefile
@@ -1,3 +1,7 @@
+INSTALL = install
+INSTALL_PROG = $(INSTALL) -m0755
+INSTALL_DIR = $(INSTALL) -d -m0755
+INSTALL_DATA = $(INSTALL) -m0644
XEN_ROOT=../..
include $(XEN_ROOT)/tools/Make.defs
@@ -20,12 +24,12 @@ MAN8 = $(wildcard *.8)
all: $(BIN)
install: all
- mkdir -p $(prefix)/usr/bin
- mkdir -p $(prefix)/usr/man/man1
- mkdir -p $(prefix)/usr/man/man8
- install -m0755 $(BIN) $(SCRIPTS) $(prefix)/usr/bin
- install -m0644 $(MAN1) $(prefix)/usr/man/man1
- install -m0644 $(MAN8) $(prefix)/usr/man/man8
+ $(INSTALL_DIR) $(prefix)/usr/bin
+ $(INSTALL_DIR) $(prefix)/usr/man/man1
+ $(INSTALL_DIR) $(prefix)/usr/man/man8
+ $(INSTALL_PROG) $(BIN) $(SCRIPTS) $(prefix)/usr/bin
+ $(INSTALL_DATA) $(MAN1) $(prefix)/usr/man/man1
+ $(INSTALL_DATA) $(MAN8) $(prefix)/usr/man/man8
clean:
$(RM) *.a *.so *.o *.rpm $(BIN)