summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2017-07-08 00:58:43 -0400
committerJaron Kent-Dobias <jaron@kent-dobias.com>2017-07-08 00:58:43 -0400
commita08ce3d79426725955923c486ffe8127493682ca (patch)
treea92bc775a90e19c77d8b309ca5b42e4804ef25a7 /makefile
parent5e1b43e450537f16f220b71409a0f133a1008302 (diff)
downloadpaper-a08ce3d79426725955923c486ffe8127493682ca.tar.gz
paper-a08ce3d79426725955923c486ffe8127493682ca.tar.bz2
paper-a08ce3d79426725955923c486ffe8127493682ca.zip
many small edits
Diffstat (limited to 'makefile')
-rw-r--r--makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/makefile b/makefile
index ffa4c63..b726870 100644
--- a/makefile
+++ b/makefile
@@ -4,13 +4,15 @@ FIGS=fig-susmag
DATA=data_square-4096
FUNCS=fig-mag_scaling-func fig-sus_scaling-func
-all: ${FIGS:%=figs/%.tex}
- rubber $(DOC).tex
- dvipdf $(DOC).dvi
+all: ${DOC}.pdf
figs/%.tex: figs/%.gplot ${DATA:%=data/%.dat} ${FUNCS:%=figs/%.dat}
gnuplot $< > $@
+${DOC}.pdf: ${DOC}.tex ${DOC}.bib ${FIGS:%=figs/%.tex}
+ rubber $(DOC).tex
+ dvipdf $(DOC).dvi
+
clean:
rubber --clean $(DOC)
rm -f $(DOC).pdf