aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ae16a1e..f029fe8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,12 @@
-.PHONY: build clean live
+.PHONY: build clean live preview
build:
latexmk -pdf -outdir=build -jobname=$$topic main.tex
live:
+ latexmk -pdf -pvc -outdir=build -jobname=$$topic main.tex
+
+preview:
latexmk -pdf -pvc -outdir=build -jobname=$$topic preview.tex
clean: