#!/usr/bin/make all: $(patsubst %.tex,%.pdf,$(wildcard *.tex)) %.pdf: %.png png2pdf -p 1.4 -a $< $@ %.pdf: %.tex rubber -fd $< clean: rubber -d --clean *.tex rm -f *.tmp rm -f figures/*.pdf viewpdf: pdf evince text.pdf spell: aspell -c -t --tex-check-comments -b text.tex .PHONY: clean all