xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Fantu <fantonifabio@tiscali.it>
To: xen-devel@lists.xensource.com
Subject: [PATCH] tools/examples: Move readmes and examples to subdirectory docs
Date: Wed, 22 Feb 2012 06:59:11 -0800 (PST)	[thread overview]
Message-ID: <1329922751305-5505329.post@n5.nabble.com> (raw)

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.

             reply	other threads:[~2012-02-22 14:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-22 14:59 Fantu [this message]
  -- strict thread matches above, loose matches on Subject: below --
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1329922751305-5505329.post@n5.nabble.com \
    --to=fantonifabio@tiscali.it \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).