# Todo: add stubs that compile the papers from sweb. This Makefile is # no longer used: all papers are included as blog posts. all: allpdf .SUFFIXES: .tex .dvi .ps .pdf .html .PHONY: papers allpdf update last # all compiled documents published on zwizwa site PUBLISHED = 8bit.pdf .tex.dvi: bash latex-bibtex latex $*.tex $* .dvi.ps: dvips $*.dvi #.ps.pdf: # ps2pdf $*.ps .tex.pdf: bash latex-bibtex pdflatex $*.tex $* .tex.html: bash latex-bibtex tex2page $*.tex $*-Z-B TEX = basics.tex ALLPS = $(TEX:.tex=.ps) ALLPDF = $(TEX:.tex=.pdf) allps: $(ALLPS) allpdf: $(ALLPDF) # update from authoritative source update: darcs pull -a http://zwizwa.be/darcs/papers last: update $(PUBLISHED) rm -rf last mkdir last cp -a $(PUBLISHED) last clean: rm -f *.aux *.dvi *.log *~ *.ps *.pdf *.bbl *.blg *.html *.toc all.tar