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

Fix dependencies in makefile and add some documentation

parent 1e3ded8a
No related branches found
No related tags found
No related merge requests found
#Name that you would like for your resulting pdf file, without extension
PDFNAME = thesis
#The program that you use for viewing pdf files
PDFVIEWER = evince
#Change name of this if you change the name of demothesis.tex, should be name of the main tex file
TEXMAINFILE = demothesis.tex
#Location of latexmk binary
MKLATEX = latexmk
#Options to latexmk, should need to be changed
MKLATEXOPTS = -pdf -pdflatex="pdflatex -interaction=nonstopmode" -use-make -jobname=$(PDFNAME)
all: $(PDFNAME).pdf
$(PDFNAME).pdf: $(TEXMAINFILE)
$(PDFNAME).pdf: $(TEXMAINFILE) *.tex
$(MKLATEX) $(MKLATEXOPTS) $<
view: $(PDFNAME).pdf
evince $(PDFNAME).pdf &
$(PDFVIEWER) $(PDFNAME).pdf &
clean:
$(MKLATEX) -CA
......
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