mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
install-hotplug and install-udev are obsolete since commit 57bcfa11
("tools/hotplug: Separate OS-specific scripts.")
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
XEN_ROOT = $(CURDIR)/../..
|
|
include $(XEN_ROOT)/tools/Rules.mk
|
|
|
|
# Xen configuration dir and configs to go there.
|
|
XEN_READMES = README
|
|
XEN_READMES += README.incompatibilities
|
|
|
|
XEN_CONFIGS += xlexample.hvm
|
|
XEN_CONFIGS += xlexample.pvlinux
|
|
XEN_CONFIGS += xl.conf
|
|
XEN_CONFIGS += cpupool
|
|
|
|
XEN_CONFIGS += $(XEN_CONFIGS-y)
|
|
|
|
.PHONY: all
|
|
all:
|
|
|
|
.PHONY: build
|
|
build:
|
|
|
|
.PHONY: install
|
|
install: all install-readmes install-configs
|
|
|
|
.PHONY: install-readmes
|
|
install-readmes:
|
|
[ -d $(DESTDIR)$(XEN_CONFIG_DIR) ] || \
|
|
$(INSTALL_DIR) $(DESTDIR)$(XEN_CONFIG_DIR)
|
|
set -e; for i in $(XEN_READMES); \
|
|
do [ -e $(DESTDIR)$(XEN_CONFIG_DIR)/$$i ] || \
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(XEN_CONFIG_DIR); \
|
|
done
|
|
|
|
.PHONY: install-configs
|
|
install-configs: $(XEN_CONFIGS)
|
|
[ -d $(DESTDIR)$(XEN_CONFIG_DIR) ] || \
|
|
$(INSTALL_DIR) $(DESTDIR)$(XEN_CONFIG_DIR)
|
|
[ -d $(DESTDIR)$(XEN_CONFIG_DIR)/auto ] || \
|
|
$(INSTALL_DIR) $(DESTDIR)$(XEN_CONFIG_DIR)/auto
|
|
set -e; for i in $(XEN_CONFIGS); \
|
|
do [ -e $(DESTDIR)$(XEN_CONFIG_DIR)/$$i ] || \
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(XEN_CONFIG_DIR); \
|
|
done
|
|
|
|
.PHONY: clean
|
|
clean:
|