summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDouglas Rumbaugh <dbr4@psu.edu>2025-04-27 17:36:57 -0400
committerDouglas Rumbaugh <dbr4@psu.edu>2025-04-27 17:36:57 -0400
commit5e4ad2777acc4c2420514e39fb98b7cf2e200996 (patch)
tree276c075048e85426436db8babf0ca1f37e9fdba2 /Makefile
downloaddissertation-5e4ad2777acc4c2420514e39fb98b7cf2e200996.tar.gz
Initial commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..9e91350
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,32 @@
+TEXFLAGS = -output-directory=build
+
+export TEXINPUTS:=.:./cls:${TEXINPUTS}
+export BSTINPUTS:=.:./cls:${BSTINPUTS}
+
+.PHONY: all
+all: paper
+
+.PHONY: build
+build:
+ -mkdir build
+ -mkdir draft
+ -mkdir img
+
+.PHONY: plots
+plots: build
+ for f in plot/*; do \
+ gnuplot "$$f"; \
+ done;
+
+.PHONY: paper
+paper: build paper.tex
+ pdflatex $(TEXFLAGS) paper.tex
+ bibtex build/paper.aux
+ pdflatex $(TEXFLAGS) paper.tex
+ pdflatex $(TEXFLAGS) paper.tex
+ mv build/paper.pdf draft/dissertation.pdf
+
+clean:
+ rm -rf build
+ rm -rf draft
+