docs: Remove outdated LaTex documentation.

Signed-off-by: Keir Fraser <keir@xen.org>
This commit is contained in:
Keir Fraser committed 2012-01-25 15:52:47 +00:00
1 parent e0ef8791f1
commit 8311d176ea
6 files changed
+4 -5519

No files matched your search

+1 -1
View File
@@ -104,7 +104,7 @@ tools/firmware/seabios-dir-force-update:
.PHONY: install-docs
install-docs:
sh ./docs/check_pkgs && $(MAKE) -C docs install || true
$(MAKE) -C docs install || true
.PHONY: dev-docs
dev-docs:
-4
View File
@@ -5,7 +5,3 @@ man Man Pages
misc Miscellaneous Documentation
misc/hvm-emulated-unplug Xen HVM emulated device unplug protocol
misc/console Xen PV Console notes
# These are not all that useful anymore, hide them from the index
reference/interface/index NO-INDEX
reference/user/index NO-INDEX
+3 -43
View File
@@ -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)
-20
View File
@@ -1,20 +0,0 @@
silent_which ()
{
which $1 1>/dev/null 2>/dev/null || {
echo "================================================="
echo "================================================="
echo "= WARNING: Package '$1' is required"
echo "= to build Xen documentation"
echo "================================================="
echo "================================================="
}
which $1 1>/dev/null 2>/dev/null
}
silent_which latex || exit 1
silent_which dvips || exit 1
silent_which ps2pdf || exit 1
silent_which fig2dev || exit 1
exit 0
File diff suppressed because it is too large. Load diff
-3235
View File
File diff suppressed because it is too large. Load diff
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.