chiark / gitweb /
extend Self Tip Inpatch
[topbloke-formulae.git] / Makefile
index 3c82b5b7afbb2f5d5bf21797e7c2f5eb73db4c80..1713c65b06549eba6d58134590a5ea2055bb4b97 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,13 @@
 
-article.pdf: article.tex
-               pdflatex -halt-on-error $< </dev/null
+SRCS := $(wildcard *.tex)
+
+default: article.pdf
+
+article.pdf: $(SRCS)
+               pdflatex -halt-on-error article.tex </dev/null
+
+article.ps: article.pdf
+               pdftops article.pdf article.ps
 
 clean:
        rm -f *.aux *.log *.dvi *.out *.pdf *~