ia64/xen-unstable

view docs/Makefile @ 1474:3cf2ba082a24

bitkeeper revision 1.959.1.1 (40cdc96bIe1WZJx-cKTSpa-TOaS14w)

Merge xenbk@gandalf:/var/bk/xeno-unstable.bk
into wray-m-3.hpl.hp.com:/home/mjw/repos-bk/xeno-unstable.bk
author mjw@wray-m-3.hpl.hp.com
date Mon Jun 14 15:51:07 2004 +0000 (2004-06-14)
parents 8ca409420fb5
children f10b0c614fad dae98734f12e
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
9 GFX = $(patsubst %.obj, %.eps, $(wildcard figs/*.obj))
10 GFX += $(patsubst %.fig, %.eps, $(wildcard figs/*.fig))
12 all: $(DOCUMENTS)
14 pristine: clean
15 rm -f $(DOCUMENTS)
17 clean:
18 rm -f .word_count *.aux *.dvi *.bbl *.blg *.glo *.idx *~
19 rm -f *.ilg *.log *.ind *.toc *.bak core
20 rm -f figs/*.eps $(DOCUMENTS)
22 install: $(DOCUMENTS)
23 mkdir -p $(prefix)/usr/share/doc/xen
24 cp -a $(DOCUMENTS) VBD-HOWTO.txt Xen-HOWTO.txt $(prefix)/usr/share/doc/xen
26 %.pdf: %.ps
27 ps2pdf $< $@
29 %.ps: %.dvi $(GFX)
30 dvips -Ppdf -G0 -o $@ $<
32 %.dvi: %.tex
33 latex $*
34 if [ -e $*.toc ] ; then latex $* ; fi
36 %.eps: %.fig
37 fig2dev -L eps $< $@
39 %.eps: %.obj
40 tgif -print -color -eps $<