aboutsummaryrefslogtreecommitdiffstats
path: root/docs/Makefile
diff options
context:
space:
mode:
authorkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2003-10-28 14:30:04 +0000
committerkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2003-10-28 14:30:04 +0000
commit3a82e2bb87814cc06f14302486007df6ac0ca224 (patch)
tree1f7be7cacf7fa7254b491334f095d0ba759cb180 /docs/Makefile
parent5bafd427fd5105f50b0d79dc54e1f7f35163396c (diff)
downloadxen-3a82e2bb87814cc06f14302486007df6ac0ca224.tar.gz
xen-3a82e2bb87814cc06f14302486007df6ac0ca224.tar.bz2
xen-3a82e2bb87814cc06f14302486007df6ac0ca224.zip
bitkeeper revision 1.534 (3f9e7d6cDzOy5qVNkizn9WE_oKdsiA)
dummy, xenlogo.eps, xenstyle.cls, style.tex, interface.tex, Makefile: new file
Diffstat (limited to 'docs/Makefile')
-rw-r--r--docs/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/docs/Makefile b/docs/Makefile
new file mode 100644
index 0000000000..94e84ef877
--- /dev/null
+++ b/docs/Makefile
@@ -0,0 +1,35 @@
+
+# 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 $<
+
+