ia64/xen-unstable

view tools/examples/Makefile @ 2422:2274a0386cc9

bitkeeper revision 1.1159.69.5 (4138e882jA1YaR_OfTfNHe_uT4PDIg)

trivial
author iap10@labyrinth.cl.cam.ac.uk
date Fri Sep 03 21:56:18 2004 +0000 (2004-09-03)
parents b1347b2eb538
children e11b33725e77
line source
2 # Init scripts.
3 XEND_INITD = init.d/xend
5 # Xen configuration dir and configs to go there.
6 XEN_CONFIG_DIR = /etc/xen
7 XEN_CONFIGS = xend-config.sxp
8 XEN_CONFIGS += xmexample1
9 XEN_CONFIGS += xmexample2
11 # Xen script dir and scripts to go there.
12 XEN_SCRIPT_DIR = /etc/xen/scripts
13 XEN_SCRIPTS = network
14 XEN_SCRIPTS += vif-bridge
16 all:
18 install: all install-initd install-configs install-scripts
20 install-initd:
21 install -d $(prefix)/etc/init.d
22 install -m0755 $(XEND_INITD) $(prefix)/etc/init.d
24 install-configs:
25 install -d $(prefix)$(XEN_CONFIG_DIR)
26 install -d $(prefix)$(XEN_CONFIG_DIR)/auto
27 for i in $(XEN_CONFIGS); \
28 do [ -a $(prefix)/$(XEN_CONFIG_DIR)/$$i ] || \
29 install -m0644 $$i $(prefix)$(XEN_CONFIG_DIR); \
30 done
32 install-scripts:
33 install -d $(prefix)$(XEN_SCRIPT_DIR)
34 for i in $(XEN_SCRIPTS); \
35 do [ -a $(prefix)/$()/$$i ] || \
36 install -m0755 $$i $(prefix)$(XEN_SCRIPT_DIR); \
37 done
39 clean: