VERSION:=1.0RC1
SOURCES:=$(shell ls *.tex) scheme.xsd exrss.xml
GRAPHS:=$(addsuffix .eps,$(basename $(shell ls *.{dot,png})))
-
.PHONY: clobber graphs release
-
-all: graphs thesis.pdf
-
+ all: graphs thesis.pdf
%.eps: %.png
convert $< $@
-
%.eps: %.dot
dot -Teps < $< > $@
-
%.pdf: %.dvi
dvipdfm $<
-
%.dvi: $(SOURCES)
latex $(basename $@)
bibtex $(basename $@)
latex $(basename $@)
latex $(basename $@)
-
graphs: $(GRAPHS)
-
-clean:
+ clean:
$(RM) -v *.{eps,aux,bbl,blg,dvi,log,out,toc}
-
clobber: clean
$(RM) -v *.pdf
-
release: all clean
mv thesis.pdf thesis_$(VERSION).pdf
--- /dev/null
+SHELL:=/bin/bash
+TEX:=pdflatex
+OUTPUT:=transfer.pdf
+
+.SECONDARY: $(addsuffix .fmt,$(basename $(OUTPUT)))
+
+all: $(OUTPUT)
+
+%.pdf: %.tex %.fmt
+ $(TEX) $<
+ $(TEX) $<
+
+%.fmt: preamble.tex
+ $(TEX) -ini -jobname="$(basename $(OUTPUT))" "&$(TEX) $<\dump"
+
+clean:
+ $(RM) -v *.{aux,fmt,log,pdf}