ia64/xen-unstable

view docs/Makefile @ 2570:30a9b33481dc

bitkeeper revision 1.1159.90.2 (415be9d5hTw1zLV9fA-AYcekmwhMwg)

Discard devices early for local migrate.
author mjw@wray-m-3.hpl.hp.com
date Thu Sep 30 11:11:17 2004 +0000 (2004-09-30)
parents 0b883cd8b325
children df9ad701dbce
line source
2 # Generic LaTeX makefile.
3 #
4 # Xfig and tgif diagrams should be in the fig/ subdirectory.
5 # DOCUMENTS should be a list of the target Postscript files.
7 DOCUMENTS = interface.ps interface.pdf interface.html user.ps \
8 user.pdf user.html xend.ps xend.pdf xend.html
10 GFX = $(patsubst %.obj, %.eps, $(wildcard figs/*.obj))
11 GFX += $(patsubst %.fig, %.eps, $(wildcard figs/*.fig))
13 all: $(DOCUMENTS)
15 pristine: clean
16 rm -f $(DOCUMENTS)
18 clean:
19 rm -f .word_count *.aux *.dvi *.bbl *.blg *.glo *.idx *~
20 rm -f *.ilg *.log *.ind *.toc *.bak core
21 rm -f figs/*.eps $(DOCUMENTS)
22 rm -rf user/
23 rm -rf interface/
25 install: $(DOCUMENTS)
26 mkdir -p $(prefix)/usr/share/doc/xen
27 cp -a $(DOCUMENTS) VBD-HOWTO.txt Xen-HOWTO.txt $(prefix)/usr/share/doc/xen
29 %.pdf: %.ps
30 ps2pdf $< $@
32 %.ps: %.dvi $(GFX)
33 dvips -Ppdf -G0 -o $@ $<
35 %.dvi: %.tex
36 latex $* >/dev/null
37 if [ -e $*.toc ] ; then latex $* >/dev/null ; fi
39 %.eps: %.fig
40 fig2dev -L eps $< $@
42 %.eps: %.obj
43 tgif -print -color -eps $<
45 %.html: %.tex
46 latex2html --split 0 --nonavigation --noinfo --math $< 1>/dev/null 2>/dev/null