aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-08-06 09:34:55 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-08-06 09:34:55 +0100
commit66e56e754b601d56be639370fdfcae3231a35b2c (patch)
treeacea75307ccab8c411a8357dad886246a13444f0 /docs
parent1d0103c4da578fba9dee662b1e72ba69a58c22e0 (diff)
downloadxen-66e56e754b601d56be639370fdfcae3231a35b2c.tar.gz
xen-66e56e754b601d56be639370fdfcae3231a35b2c.tar.bz2
xen-66e56e754b601d56be639370fdfcae3231a35b2c.zip
install more documentation to /usr/share/doc/xen and /etc/xen
Also resync xmexample3 with xmexample1 and 2. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/Docs.mk4
-rw-r--r--docs/Makefile16
-rw-r--r--docs/xen-api/Makefile8
3 files changed, 12 insertions, 16 deletions
diff --git a/docs/Docs.mk b/docs/Docs.mk
index d620213982..3c95cfca45 100644
--- a/docs/Docs.mk
+++ b/docs/Docs.mk
@@ -7,7 +7,3 @@ DOXYGEN := doxygen
POD2MAN := pod2man
DOT := dot
NEATO := neato
-
-pkgdocdir := /usr/share/doc/xen
-mandir := /usr/share/man
-
diff --git a/docs/Makefile b/docs/Makefile
index b412008125..dce7cd9d31 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -80,17 +80,17 @@ distclean: clean
.PHONY: install
install: all
- rm -rf $(DESTDIR)$(pkgdocdir)
- $(INSTALL_DIR) $(DESTDIR)$(pkgdocdir)
+ rm -rf $(DESTDIR)$(DOCDIR)
+ $(INSTALL_DIR) $(DESTDIR)$(DOCDIR)
$(MAKE) -C xen-api install
- cp -dR ps $(DESTDIR)$(pkgdocdir)
- cp -dR pdf $(DESTDIR)$(pkgdocdir)
- $(INSTALL_DIR) $(DESTDIR)$(mandir)
- cp -dR man1 $(DESTDIR)$(mandir)
- cp -dR man5 $(DESTDIR)$(mandir)
- [ ! -d html ] || cp -dR html $(DESTDIR)$(pkgdocdir)
+ cp -dR ps $(DESTDIR)$(DOCDIR)
+ cp -dR pdf $(DESTDIR)$(DOCDIR)
+ $(INSTALL_DIR) $(DESTDIR)$(MANDIR)
+ cp -dR man1 $(DESTDIR)$(MANDIR)
+ cp -dR man5 $(DESTDIR)$(MANDIR)
+ [ ! -d html ] || cp -dR html $(DESTDIR)$(DOCDIR)
pdf/%.pdf: ps/%.ps
$(INSTALL_DIR) $(@D)
diff --git a/docs/xen-api/Makefile b/docs/xen-api/Makefile
index 214f94325a..a25286a30a 100644
--- a/docs/xen-api/Makefile
+++ b/docs/xen-api/Makefile
@@ -16,11 +16,11 @@ all: build
build: xenapi.pdf xenapi.ps
install:
- $(INSTALL_DIR) $(DESTDIR)$(pkgdocdir)/ps
- $(INSTALL_DIR) $(DESTDIR)$(pkgdocdir)/pdf
+ $(INSTALL_DIR) $(DESTDIR)$(DOCDIR)/ps
+ $(INSTALL_DIR) $(DESTDIR)$(DOCDIR)/pdf
- [ -e xenapi.ps ] && cp xenapi.ps $(DESTDIR)$(pkgdocdir)/ps || true
- [ -e xenapi.pdf ] && cp xenapi.pdf $(DESTDIR)$(pkgdocdir)/pdf || true
+ [ -e xenapi.ps ] && cp xenapi.ps $(DESTDIR)$(DOCDIR)/ps || true
+ [ -e xenapi.pdf ] && cp xenapi.pdf $(DESTDIR)$(DOCDIR)/pdf || true
xenapi.dvi: $(TEX) $(EPS) $(EPSDOT)
$(LATEX) xenapi.tex