aboutsummaryrefslogtreecommitdiffstats
path: root/tools/examples
diff options
context:
space:
mode:
authoriap10@tetris.cl.cam.ac.uk <iap10@tetris.cl.cam.ac.uk>2004-04-02 16:27:52 +0000
committeriap10@tetris.cl.cam.ac.uk <iap10@tetris.cl.cam.ac.uk>2004-04-02 16:27:52 +0000
commit5b7c4eaf7289515417a1fec4fbfa29bf2798e158 (patch)
tree9a40e78fc0734bf5f2cab1bde886def990bc5078 /tools/examples
parent9582cc5affd7e0ea070ce57b968ff1999f3afebb (diff)
parenta62489a1c78ba13aaad565f81cf5f3ee73a8c994 (diff)
downloadxen-5b7c4eaf7289515417a1fec4fbfa29bf2798e158.tar.gz
xen-5b7c4eaf7289515417a1fec4fbfa29bf2798e158.tar.bz2
xen-5b7c4eaf7289515417a1fec4fbfa29bf2798e158.zip
bitkeeper revision 1.836 (406d9488wRtZKwTYlBWc9RuXHmCLAw)
Merge tetris.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk into tetris.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xeno.bk
Diffstat (limited to 'tools/examples')
-rw-r--r--tools/examples/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/examples/Makefile b/tools/examples/Makefile
index 1f57924338..fba54aae44 100644
--- a/tools/examples/Makefile
+++ b/tools/examples/Makefile
@@ -11,7 +11,10 @@ install: all
mkdir -p $(prefix)/etc/xc/auto
mkdir -p $(prefix)/etc/init.d
install -m0755 $(INSTALL) $(prefix)/usr/bin
- install -m0644 $(ETC) $(prefix)/etc/xc
+ for i in $(ETC); \
+ do [ -a $(prefix)/etc/xc/$$i ] || \
+ install -m0644 $$i $(prefix)/etc/xc; \
+ done
install -m0755 $(INITD) $(prefix)/etc/init.d
clean: