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 22:03:34 +0000
committeriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>2005-01-22 22:03:34 +0000
commitd2f5d53621f141ce1be63eeeae4a8a9e289498d8 (patch)
tree206f20e7e561bfdab882dacb13aab906755e6cf0 /tools/xentrace/Makefile
parent84a280c8928e988f7e8fac3fe69f1b1e67d95da5 (diff)
downloadxen-d2f5d53621f141ce1be63eeeae4a8a9e289498d8.tar.gz
xen-d2f5d53621f141ce1be63eeeae4a8a9e289498d8.tar.bz2
xen-d2f5d53621f141ce1be63eeeae4a8a9e289498d8.zip
bitkeeper revision 1.1159.223.26 (41f2cdb6LNpheOtPoAKEUn-czlZFig)
Description: use DESTDIR correctly Standard makefiles always attempt to install to the root(/). Setting DESTDIR is the normal way to install to an alternative location. Setting prefix has the possibility of breaking programs, as the prefix may have been embedded inside a compiled binary. 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/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/xentrace/Makefile b/tools/xentrace/Makefile
index c2545762a3..9133271b66 100644
--- a/tools/xentrace/Makefile
+++ b/tools/xentrace/Makefile
@@ -24,12 +24,12 @@ MAN8 = $(wildcard *.8)
all: $(BIN)
install: all
- $(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
+ $(INSTALL_DIR) $(DESTDIR)/usr/bin
+ $(INSTALL_DIR) $(DESTDIR)/usr/man/man1
+ $(INSTALL_DIR) $(DESTDIR)/usr/man/man8
+ $(INSTALL_PROG) $(BIN) $(SCRIPTS) $(DESTDIR)/usr/bin
+ $(INSTALL_DATA) $(MAN1) $(DESTDIR)/usr/man/man1
+ $(INSTALL_DATA) $(MAN8) $(DESTDIR)/usr/man/man8
clean:
$(RM) *.a *.so *.o *.rpm $(BIN)