Files
xen/docs/Makefile
T
kaf24@scramble.cl.cam.ac.uk 3a82e2bb87 bitkeeper revision 1.534 (3f9e7d6cDzOy5qVNkizn9WE_oKdsiA)
dummy, xenlogo.eps, xenstyle.cls, style.tex, interface.tex, Makefile:
  new file
2003-10-28 14:30:04 +00:00

36 lines
652 B
Makefile

# Generic LaTeX makefile.
#
# Xfig and tgif diagrams should be in the fig/ subdirectory.
# DOCUMENTS should be a list of the target Postscript files.
DOCUMENTS = interface.ps
GFX = $(patsubst %.obj, %.eps, $(wildcard figs/*.obj))
GFX += $(patsubst %.fig, %.eps, $(wildcard figs/*.fig))
all: $(DOCUMENTS)
pristine: clean
rm -f $(DOCUMENTS)
clean:
rm -f .word_count *.aux *.dvi *.bbl *.blg *.glo *.idx *~
rm -f *.ilg *.log *.ind *.toc *.bak core
rm -f figs/*.eps
%.ps: %.dvi $(GFX)
dvips -o $@ $<
%.dvi: %.tex
latex $*
if [ -e $*.toc ] ; then latex $* ; fi
%.eps: %.fig
fig2dev -L eps $< $@
%.eps: %.obj
tgif -print -color -eps $<