|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] tools/examples: Move readmes and examples to subdirectory docs
tools/examples: Move readmes and examples to subdirectory docs
Signed-off-by: Fabio Fantoni <fabio.fantoni@xxxxxxxxxx>
---
diff --git a/tools/examples/Makefile b/tools/examples/Makefile
index 8cea724..be71872 100644
--- a/tools/examples/Makefile
+++ b/tools/examples/Makefile
@@ -7,20 +7,20 @@ XENDOMAINS_INITD = init.d/xendomains
XENDOMAINS_SYSCONFIG = init.d/sysconfig.xendomains
# Xen configuration dir and configs to go there.
-XEN_READMES = README
-XEN_READMES += README.incompatibilities
+XEN_DOCS = README
+XEN_DOCS += README.incompatibilities
XEN_CONFIGS = xend-config.sxp
XEN_CONFIGS += xm-config.xml
-XEN_CONFIGS += xmexample1
-XEN_CONFIGS += xmexample2
-XEN_CONFIGS += xmexample3
-XEN_CONFIGS += xmexample.hvm
-XEN_CONFIGS += xmexample.hvm-stubdom
-XEN_CONFIGS += xmexample.pv-grub
-XEN_CONFIGS += xmexample.nbd
-XEN_CONFIGS += xmexample.vti
-XEN_CONFIGS += xlexample.hvm
-XEN_CONFIGS += xlexample.pvlinux
+XEN_DOCS += xmexample1
+XEN_DOCS += xmexample2
+XEN_DOCS += xmexample3
+XEN_DOCS += xmexample.hvm
+XEN_DOCS += xmexample.hvm-stubdom
+XEN_DOCS += xmexample.pv-grub
+XEN_DOCS += xmexample.nbd
+XEN_DOCS += xmexample.vti
+XEN_DOCS += xlexample.hvm
+XEN_DOCS += xlexample.pvlinux
XEN_CONFIGS += xend-pci-quirks.sxp
XEN_CONFIGS += xend-pci-permissive.sxp
XEN_CONFIGS += xl.conf
@@ -33,15 +33,17 @@ all:
build:
.PHONY: install
-install: all install-readmes install-configs $(HOTPLUGS)
+install: all install-docs install-configs $(HOTPLUGS)
-.PHONY: install-readmes
-install-readmes:
+.PHONY: install-docs
+install-docs:
[ -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); \
+ [ -d $(DESTDIR)$(XEN_CONFIG_DIR)/docs ] || \
+ $(INSTALL_DIR) $(DESTDIR)$(XEN_CONFIG_DIR)/docs
+ set -e; for i in $(XEN_DOCS); \
+ do [ -e $(DESTDIR)$(XEN_CONFIG_DIR)/docs/$$i ] || \
+ $(INSTALL_DATA) $$i $(DESTDIR)$(XEN_CONFIG_DIR)/docs/; \
done
.PHONY: install-configs
--
View this message in context:
http://xen.1045712.n5.nabble.com/PATCH-tools-examples-Move-readmes-and-examples-to-subdirectory-docs-tp5505329p5505329.html
Sent from the Xen - Dev mailing list archive at Nabble.com.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |