chiark
/
gitweb
/
~ian
/
topbloke-formulae.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename Tip Self Contents -> Tip Own Contents
[topbloke-formulae.git]
/
Makefile
diff --git
a/Makefile
b/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.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 *~
clean:
rm -f *.aux *.log *.dvi *.out *.pdf *~