chiark / gitweb /
merge fixes/clarifications - clarify tip contents R \not\in \py
[topbloke-formulae.git] / Makefile
index 0391a54176f7d05f5e14506c1673f71e8dd2d8c7..1713c65b06549eba6d58134590a5ea2055bb4b97 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,13 @@
 
+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
 
-article.pdf: article.tex
-               pdflatex -halt-on-error $< </dev/null
-
 clean:
        rm -f *.aux *.log *.dvi *.out *.pdf *~