Skip to content
Snippets Groups Projects
Commit 50106c68 authored by Anton S's avatar Anton S
Browse files

Add makefile using mklatex to build a pdf

parent ba96d5d8
No related branches found
No related tags found
No related merge requests found
Makefile 0 → 100644
PDFNAME = thesis
TEXMAINFILE = demothesis.tex
MKLATEX = latexmk
MKLATEXOPTS = -pdf -pdflatex="pdflatex -interaction=nonstopmode" -use-make -jobname=$(PDFNAME)
all: $(PDFNAME).pdf
$(PDFNAME).pdf: $(TEXMAINFILE)
$(MKLATEX) $(MKLATEXOPTS) $<
view: $(PDFNAME).pdf
evince $(PDFNAME).pdf &
clean:
$(MKLATEX) -CA
rm $(PDFNAME).pdf
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment