* [PATCH] tools/examples: Move readmes and examples to subdirectory docs
@ 2012-02-28 14:03 Fabio Fantoni
2012-03-01 17:53 ` Ian Jackson
0 siblings, 1 reply; 6+ messages in thread
From: Fabio Fantoni @ 2012-02-28 14:03 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1.1.1: Type: text/plain, Size: 2180 bytes --]
tools/examples: Move readmes and examples to subdirectory docs
Signed-off-by: Fabio Fantoni <fabio.fantoni@heliman.it>
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
[-- Attachment #1.1.2: move_readmes_and_example_to_subdir_docs.patch --]
[-- Type: text/plain, Size: 2070 bytes --]
tools/examples: Move readmes and examples to subdirectory docs
Signed-off-by: Fabio Fantoni <fabio.fantoni@heliman.it>
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
[-- Attachment #1.2: Firma crittografica S/MIME --]
[-- Type: application/pkcs7-signature, Size: 4803 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] tools/examples: Move readmes and examples to subdirectory docs
2012-02-28 14:03 [PATCH] tools/examples: Move readmes and examples to subdirectory docs Fabio Fantoni
@ 2012-03-01 17:53 ` Ian Jackson
2012-03-01 17:57 ` Fantu
0 siblings, 1 reply; 6+ messages in thread
From: Ian Jackson @ 2012-03-01 17:53 UTC (permalink / raw)
To: fantonifabio; +Cc: xen-devel
Fabio Fantoni writes ("[Xen-devel] [PATCH] tools/examples: Move readmes and examples to subdirectory docs"):
> tools/examples: Move readmes and examples to subdirectory docs
This patch has been mangled and I cannot apply it to see the results.
Can you please investigate your email client ? If all else fails, you
can send a copy of the patch as an attachment as well as inline.
Thanks,
Ian.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] tools/examples: Move readmes and examples to subdirectory docs
2012-03-01 17:53 ` Ian Jackson
@ 2012-03-01 17:57 ` Fantu
2012-03-01 18:50 ` Ian Jackson
0 siblings, 1 reply; 6+ messages in thread
From: Fantu @ 2012-03-01 17:57 UTC (permalink / raw)
To: xen-devel
Ian Jackson-2 wrote
>
> Fabio Fantoni writes ("[Xen-devel] [PATCH] tools/examples: Move readmes
> and examples to subdirectory docs"):
>> tools/examples: Move readmes and examples to subdirectory docs
>
> This patch has been mangled and I cannot apply it to see the results.
> Can you please investigate your email client ? If all else fails, you
> can send a copy of the patch as an attachment as well as inline.
>
> Thanks,
> Ian.
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@.xen
> http://lists.xen.org/xen-devel
>
There is already also attachment
--
View this message in context: http://xen.1045712.n5.nabble.com/PATCH-tools-examples-Move-readmes-and-examples-to-subdirectory-docs-tp5521913p5528662.html
Sent from the Xen - Dev mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] tools/examples: Move readmes and examples to subdirectory docs
2012-03-01 17:57 ` Fantu
@ 2012-03-01 18:50 ` Ian Jackson
2012-03-02 9:32 ` Fantu
0 siblings, 1 reply; 6+ messages in thread
From: Ian Jackson @ 2012-03-01 18:50 UTC (permalink / raw)
To: Fantu; +Cc: xen-devel
Fantu writes ("Re: [Xen-devel] [PATCH] tools/examples: Move readmes and examples to subdirectory docs"):
> There is already also attachment
So there is, sorry for not spotting it.
I took a look at the results, and they include /etc/xen/docs. I don't
think that's right. They should be in dist/install/usr/share/doc/xen
somewhere. usr/share/doc/xen/examples perhaps.
Ian.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] tools/examples: Move readmes and examples to subdirectory docs
2012-03-01 18:50 ` Ian Jackson
@ 2012-03-02 9:32 ` Fantu
0 siblings, 0 replies; 6+ messages in thread
From: Fantu @ 2012-03-02 9:32 UTC (permalink / raw)
To: xen-devel
I thought it best to remain there because of the DomU config files are put
there.
Now I redo the patch with move it on /usr/share/doc/xen/examples
--
View this message in context: http://xen.1045712.n5.nabble.com/PATCH-tools-examples-Move-readmes-and-examples-to-subdirectory-docs-tp5521913p5530472.html
Sent from the Xen - Dev mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH] tools/examples: Move readmes and examples to subdirectory docs
@ 2012-02-22 14:59 Fantu
0 siblings, 0 replies; 6+ messages in thread
From: Fantu @ 2012-02-22 14:59 UTC (permalink / raw)
To: xen-devel
tools/examples: Move readmes and examples to subdirectory docs
Signed-off-by: Fabio Fantoni <fabio.fantoni@heliman.it>
---
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.
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-03-02 9:32 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-28 14:03 [PATCH] tools/examples: Move readmes and examples to subdirectory docs Fabio Fantoni
2012-03-01 17:53 ` Ian Jackson
2012-03-01 17:57 ` Fantu
2012-03-01 18:50 ` Ian Jackson
2012-03-02 9:32 ` Fantu
-- strict thread matches above, loose matches on Subject: below --
2012-02-22 14:59 Fantu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.