From e854ed8a05e7380aca38c60726169e32c1872955 Mon Sep 17 00:00:00 2001 From: "kaf24@scramble.cl.cam.ac.uk" Date: Tue, 2 Mar 2004 11:09:07 +0000 Subject: bitkeeper revision 1.761 (40446b53iVC1lWMdd8aC4YbIBLbvLg) Makefile: Installation fixes from Adam Heath. --- tools/examples/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tools/examples') 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 -- cgit v1.2.3