diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-11-04 12:13:42 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-11-04 12:13:42 +0000 |
commit | 57bcfa11b151fdbb71c256fa47592fc6a535c487 (patch) | |
tree | 1d0e0d153177f598722c5942101762e79f89bf54 /tools/hotplug/common | |
parent | 8ebbe767aa281355990b834b06d9b287e19e01c3 (diff) | |
download | xen-57bcfa11b151fdbb71c256fa47592fc6a535c487.tar.gz xen-57bcfa11b151fdbb71c256fa47592fc6a535c487.tar.bz2 xen-57bcfa11b151fdbb71c256fa47592fc6a535c487.zip |
tools/hotplug: Separate OS-specific scripts.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'tools/hotplug/common')
-rw-r--r-- | tools/hotplug/common/Makefile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/tools/hotplug/common/Makefile b/tools/hotplug/common/Makefile new file mode 100644 index 0000000000..b69b9991af --- /dev/null +++ b/tools/hotplug/common/Makefile @@ -0,0 +1,37 @@ +XEN_ROOT = ../../../ +include $(XEN_ROOT)/tools/Rules.mk + +# OS-independent hotplug scripts go in this directory + +# Xen configuration dir and configs to go there. +XEN_CONFIG_DIR = /etc/xen + +# Xen script dir and scripts to go there. +XEN_SCRIPT_DIR = /etc/xen/scripts +XEN_SCRIPTS = +XEN_SCRIPT_DATA = + +.PHONY: all +all: + +.PHONY: build +build: + +.PHONY: install +install: all install-scripts + +.PHONY: install-scripts +install-scripts: + [ -d $(DESTDIR)$(XEN_SCRIPT_DIR) ] || \ + $(INSTALL_DIR) $(DESTDIR)$(XEN_SCRIPT_DIR) + set -e; for i in $(XEN_SCRIPTS); \ + do \ + $(INSTALL_PROG) $$i $(DESTDIR)$(XEN_SCRIPT_DIR); \ + done + set -e; for i in $(XEN_SCRIPT_DATA); \ + do \ + $(INSTALL_DATA) $$i $(DESTDIR)$(XEN_SCRIPT_DIR); \ + done + +.PHONY: clean +clean: |