X-Git-Url: https://projects.mako.cc/source/latex_mako/blobdiff_plain/94507c62c379b328a02bc93b39eed0c606805c96..4e55ac3a57a61e81005b08edcacd1e3d9052aa92:/Makefile diff --git a/Makefile b/Makefile index e2c566a..b88ef22 100644 --- a/Makefile +++ b/Makefile @@ -1,27 +1,23 @@ -all: dvi +#!/usr/bin/make -dvi: text.tex - cp text.tex backup.tex - latex text.tex - latex text.tex - latex text.tex +all: $(patsubst %.tex,%.pdf,$(wildcard *.tex)) +pdf: all -pdf: dvi - pdflatex text.tex +%.pdf: %.tex + rubber -fd $< -viewpdf: pdf - evince text.pdf +clean: + rubber -d --clean *.tex + rm -f *.tmp + rm vc -ps: dvi - dvips -f < text.dvi > text.ps - -final: dvi - dvips -f < text.dvi > final.ps +viewpdf: all + evince *.pdf spell: aspell -c -t --tex-check-comments -b text.tex -clean: - cp text.tex backup.tex - rm -f text.{blg,bbl,aux,log,dvi,toc,tex.bak,txt,tex~,ps,pdf} warnings +vc: + vc-git +.PHONY: clean all