aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xentrace/Makefile
diff options
context:
space:
mode:
authorcl349@arcadians.cl.cam.ac.uk <cl349@arcadians.cl.cam.ac.uk>2005-01-27 17:09:14 +0000
committercl349@arcadians.cl.cam.ac.uk <cl349@arcadians.cl.cam.ac.uk>2005-01-27 17:09:14 +0000
commit8f230701e201bbc77fae73dc2671343081ba8d05 (patch)
tree5fedf6b7fda82dc7b0f57a855f800e9f6cc10f42 /tools/xentrace/Makefile
parent475057590a57c971b641a9888124a39c397fb2c8 (diff)
downloadxen-8f230701e201bbc77fae73dc2671343081ba8d05.tar.gz
xen-8f230701e201bbc77fae73dc2671343081ba8d05.tar.bz2
xen-8f230701e201bbc77fae73dc2671343081ba8d05.zip
bitkeeper revision 1.1159.234.1 (41f9203a3hESfmWBG29VVoqa-chOrA)
Build system cleanups. Signed-off-by: c@pin.lu
Diffstat (limited to 'tools/xentrace/Makefile')
-rw-r--r--tools/xentrace/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/xentrace/Makefile b/tools/xentrace/Makefile
index 5fe6a9d61d..5ed26cf795 100644
--- a/tools/xentrace/Makefile
+++ b/tools/xentrace/Makefile
@@ -24,9 +24,11 @@ MAN8 = $(wildcard *.8)
all: $(BIN)
install: all
- $(INSTALL_DIR) $(DESTDIR)/usr/bin
- $(INSTALL_DIR) $(DESTDIR)/usr/man/man1
- $(INSTALL_DIR) $(DESTDIR)/usr/man/man8
+ [ -d $(DESTDIR)/usr/bin ] || $(INSTALL_DIR) $(DESTDIR)/usr/bin
+ [ -d $(DESTDIR)/usr/man/man1 ] || \
+ $(INSTALL_DIR) $(DESTDIR)/usr/man/man1
+ [ -d $(DESTDIR)/usr/man/man8 ] || \
+ $(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