diff options
author | Keir Fraser <keir@xen.org> | 2012-01-25 15:52:47 +0000 |
---|---|---|
committer | Keir Fraser <keir@xen.org> | 2012-01-25 15:52:47 +0000 |
commit | 8311d176ea6ff5b6251434d4eface16bc5490eb9 (patch) | |
tree | 8a11b64c6f9f533826aa61d7729a115ece3e7faf /docs/Makefile | |
parent | e0ef8791f11f3e97548efae1ecfb3c2bad9a115b (diff) | |
download | xen-8311d176ea6ff5b6251434d4eface16bc5490eb9.tar.gz xen-8311d176ea6ff5b6251434d4eface16bc5490eb9.tar.bz2 xen-8311d176ea6ff5b6251434d4eface16bc5490eb9.zip |
docs: Remove outdated LaTex documentation.
Signed-off-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'docs/Makefile')
-rw-r--r-- | docs/Makefile | 46 |
1 files changed, 3 insertions, 43 deletions
diff --git a/docs/Makefile b/docs/Makefile index 28a5b10917..49e33cb39c 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -10,12 +10,8 @@ DOC_MAN5SRC := $(wildcard man/*.pod.5) DOC_MAN1SRC := $(wildcard man/*.pod.1) DOC_MAN1 := $(patsubst man/%.pod.1,man1/%.1,$(DOC_MAN1SRC)) DOC_MAN5 := $(patsubst man/%.pod.5,man5/%.5,$(DOC_MAN5SRC)) -DOC_TEX := src/user.tex src/interface.tex DOC_MARKDOWN := $(wildcard misc/*.markdown) -DOC_PS := $(patsubst src/%.tex,ps/%.ps,$(DOC_TEX)) -DOC_PDF := $(patsubst src/%.tex,pdf/%.pdf,$(DOC_TEX)) -DOC_HTML := $(patsubst src/%.tex,html/reference/%/index.html,$(DOC_TEX)) \ - $(patsubst %.markdown,html/%.html,$(DOC_MARKDOWN)) \ +DOC_HTML := $(patsubst %.markdown,html/%.html,$(DOC_MARKDOWN)) \ $(patsubst man/%.pod.1,html/man/%.1.html,$(DOC_MAN1SRC)) \ $(patsubst man/%.pod.5,html/man/%.5.html,$(DOC_MAN5SRC)) \ $(patsubst %.txt,html/%.txt,$(wildcard misc/*.txt)) \ @@ -25,13 +21,11 @@ DOC_TXT := $(patsubst %.txt,txt/%.txt,$(wildcard misc/*.txt)) \ $(patsubst man/%.pod.1,txt/man/%.1.txt,$(DOC_MAN1SRC)) \ $(patsubst man/%.pod.5,txt/man/%.5.txt,$(DOC_MAN5SRC)) -GFX = $(patsubst %.fig, %.eps, $(wildcard figs/*.fig)) - .PHONY: all all: build .PHONY: build -build: ps pdf html txt man-pages +build: html txt man-pages @if which $(DOT) 1>/dev/null 2>/dev/null ; then \ $(MAKE) -C xen-api build ; else \ echo "Graphviz (dot) not installed; skipping xen-api." ; fi @@ -40,12 +34,6 @@ build: ps pdf html txt man-pages .PHONY: dev-docs dev-docs: python-dev-docs -.PHONY: ps -ps: $(DOC_PS) - -.PHONY: pdf -pdf: $(DOC_PDF) - .PHONY: html html: $(DOC_HTML) html/index.html @@ -82,7 +70,7 @@ clean: $(MAKE) -C xen-api clean rm -rf .word_count *.aux *.dvi *.bbl *.blg *.glo *.idx *~ rm -rf *.ilg *.log *.ind *.toc *.bak core - rm -rf $(GFX) ps pdf html txt + rm -rf html txt rm -rf api rm -rf man5 rm -rf man1 @@ -97,39 +85,11 @@ install: all $(MAKE) -C xen-api install - 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) - $(PS2PDF) $< $@.new - mv $@.new $@ - -ps/%.ps: %.dvi - $(INSTALL_DIR) $(@D) - $(DVIPS) -Ppdf -G0 -o $@.new $< - mv $@.new $@ - -%.dvi: src/%.tex $(GFX) - $(LATEX) $< >/dev/null - if [ -e $*.toc ] ; then $(LATEX) $< >/dev/null ; fi - -%.eps: %.fig - $(FIG2DEV) -L eps $< $@ - -html/reference/%/index.html: src/%.tex - @$(INSTALL_DIR) $(@D) - @set -e ; if which $(LATEX2HTML) 1>/dev/null 2>/dev/null; then \ - echo "Running latex2html to generate reference/$*/index.html ... "; \ - $(LATEX2HTML) -split 0 -show_section_numbers -toc_depth 3 -nonavigation \ - -numbered_footnotes -local_icons -noinfo -math -dir $(@D) \ - $< 1>/dev/null 2>/dev/null ; else \ - echo "latex2html not installed; skipping reference/$*."; fi - html/index.html: $(DOC_HTML) ./gen-html-index INDEX perl -w -- ./gen-html-index -i INDEX html $(DOC_HTML) |