Files
xen/tools/hotplug/common/Makefile
T
Keir Fraser 94c3a1b680 tools: clean up handling of xen config and scripts directories.
For now hardcode /etc w/o a prefix as there are hardcoded
config paths in the code which would break otherwise.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
2009-05-19 01:48:18 +01:00

34 lines
638 B
Makefile

XEN_ROOT = ../../../
include $(XEN_ROOT)/tools/Rules.mk
# OS-independent hotplug scripts go in this directory
# Xen script dir and scripts to go there.
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: