Skip to content

Commit

Permalink
Compile glossary when using make. make clean removes glossary related…
Browse files Browse the repository at this point in the history
… files.
  • Loading branch information
Zackeus Bengtsson committed Feb 9, 2020
1 parent ef3a370 commit 1cbd3bd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ SRCS=\
$(wildcard papers/*) \
ntnuthesis.cls \
thesis.bib \
glossary.tex \
thesis.tex

LATEX_FLAGS=-shell-escape
Expand All @@ -19,11 +20,12 @@ thesis.pdf: $(SRCS)
$(mkdir)
pdflatex $(LATEX_FLAGS) thesis
biber $(BIBER_FLAGS) thesis
makeglossaries thesis
pdflatex $(LATEX_FLAGS) thesis
pdflatex $(LATEX_FLAGS) thesis

clean:
-@$(RM) \
$(wildcard thesis-gnuplottex*) \
$(addprefix thesis,.gnuploterrors .aux .bbl .bcf .blg .lof .log .lol .lot .out .pdf .run.xml .toc)
$(wildcard thesis-gnuplottex*) \
$(addprefix thesis,.gnuploterrors .aux .bbl .bcf .blg .lof .log .lol .lot .out .pdf .run.xml .toc .acn .glo .ist .acr .alg .glg .gls)
.PHONY: clean

0 comments on commit 1cbd3bd

Please sign in to comment.