aboutsummaryrefslogtreecommitdiffstats
path: root/tools/examples
diff options
context:
space:
mode:
authorkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2004-03-02 11:09:07 +0000
committerkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2004-03-02 11:09:07 +0000
commite854ed8a05e7380aca38c60726169e32c1872955 (patch)
tree14b6672d89738bcfbfbce88809c4df6c930a250f /tools/examples
parent4665a2b24255c9de6fabf87a303a59d1318e39d7 (diff)
downloadxen-e854ed8a05e7380aca38c60726169e32c1872955.tar.gz
xen-e854ed8a05e7380aca38c60726169e32c1872955.tar.bz2
xen-e854ed8a05e7380aca38c60726169e32c1872955.zip
bitkeeper revision 1.761 (40446b53iVC1lWMdd8aC4YbIBLbvLg)
Makefile: Installation fixes from Adam Heath.
Diffstat (limited to 'tools/examples')
-rw-r--r--tools/examples/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/examples/Makefile b/tools/examples/Makefile
index 626b08c915..0af1c854df 100644
--- a/tools/examples/Makefile
+++ b/tools/examples/Makefile
@@ -14,13 +14,13 @@ INITD = xendomains
all:
install: all
- mkdir -p /usr/bin
- cp -a $(INSTALL) /usr/bin
+ mkdir -p $(prefix)/usr/bin
+ cp -a $(INSTALL) $(prefix)/usr/bin
#chmod 755 $(INSTALL)
- mkdir -p /etc/xc
- for i in $(ETC) ; do [ ! -e /etc/xc/$$i ] && echo Install $$i && cp $$i /etc/xc/ ; done || true
- mkdir -p /etc/xc/auto
- for i in $(INITD) ; do [ -e /etc/init.d/ ] && [ ! -e /etc/init.d/$$i ] && cp $$i /etc/init.d/ ; done || true
+ mkdir -p $(prefix)/etc/xc
+ for i in $(ETC) ; do [ ! -e $(prefix)/etc/xc/$$i ] && echo Install $$i && cp $$i $(prefix)/etc/xc/ ; done || true
+ mkdir -p $(prefix)/etc/xc/auto
+ for i in $(INITD) ; do [ -e $(prefix)/etc/init.d/ ] && [ ! -e $(prefix)/etc/init.d/$$i ] && cp $$i $(prefix)/etc/init.d/ ; done || true
dist: all
mkdir -p ../../../install/bin