summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorAkshay <[email protected]>2020-12-14 17:17:05 +0000
committerAkshay <[email protected]>2020-12-14 17:17:05 +0000
commit6e18a4da63a46a54b531422dcc80b46cba80490b (patch)
tree81b977ca8660b8d82a37f2f7594c85d1ad4bf41a /makefile
init
Diffstat (limited to 'makefile')
-rw-r--r--makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..9539d3b
--- /dev/null
+++ b/makefile
@@ -0,0 +1,19 @@
1DOCNAME=presentation
2PDFLATEX="pdflatex -interaction=nonstopmode"
3
4.PHONY: $(DOCNAME).pdf all clean
5
6all: $(DOCNAME).pdf
7
8$(DOCNAME).pdf: $(DOCNAME).tex
9 latexmk -pdf -pdflatex=$(PDFLATEX) -use-make $(DOCNAME).tex
10
11watch: $(DOCNAME).tex
12 latexmk -pvc -pdf -pdflatex=$(PDFLATEX) -use-make $(DOCNAME).tex
13
14clean:
15 latexmk -CA
16
17install:
18 cp $(DOCNAME).pdf ${out}/
19