Update build system
This commit is contained in:
parent
ca9c5725db
commit
a31b35859c
12
Makefile
12
Makefile
@ -4,7 +4,6 @@ MAKE=make
|
|||||||
LATEX=xelatex
|
LATEX=xelatex
|
||||||
BIBTEX=biber
|
BIBTEX=biber
|
||||||
MAKEGLOS=makeglossaries
|
MAKEGLOS=makeglossaries
|
||||||
BUILDDIR=build
|
|
||||||
|
|
||||||
.PHONY: FORCE
|
.PHONY: FORCE
|
||||||
|
|
||||||
@ -12,20 +11,21 @@ main: dekker_thesis.pdf
|
|||||||
|
|
||||||
all: $(TARGETS)
|
all: $(TARGETS)
|
||||||
|
|
||||||
$(BUILDDIR)/.sync:
|
latex.out/.sync:
|
||||||
pipenv sync
|
pipenv sync
|
||||||
|
touch latex.out/.sync
|
||||||
|
|
||||||
%.pdf: %.tex FORCE
|
%.pdf: %.tex latex.out/.sync FORCE
|
||||||
$(info compiling $@)
|
$(info compiling $@)
|
||||||
@pipenv run ./vendor/latexrun --latex-cmd=$(LATEX) --latex-args="-shell-escape --8bit" --bibtex-cmd=$(BIBTEX) --makeglossaries-cmd=$(MAKEGLOS) -O $(BUILDDIR) $<
|
@pipenv run ./vendor/latexrun --latex-cmd=$(LATEX) --latex-args="-shell-escape --8bit" --bibtex-cmd=$(BIBTEX) --makeglossaries-cmd=$(MAKEGLOS) $<
|
||||||
|
|
||||||
update:
|
update:
|
||||||
pipenv lock
|
pipenv lock
|
||||||
rm -f $(BUILDDIR)/.sync
|
rm -f latex.out/.sync
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
./vendor/latexrun --clean-all
|
./vendor/latexrun --clean-all
|
||||||
rm -f indent.log
|
rm -f indent.log
|
||||||
|
|
||||||
clobber:
|
clobber:
|
||||||
rm -rf build/*
|
rm -rf latex.out/*
|
||||||
|
@ -52,6 +52,7 @@
|
|||||||
% References
|
% References
|
||||||
\usepackage[
|
\usepackage[
|
||||||
style=apa,
|
style=apa,
|
||||||
|
backend=biber,
|
||||||
]{biblatex}
|
]{biblatex}
|
||||||
\DeclareLanguageMapping{australian}{english-apa}
|
\DeclareLanguageMapping{australian}{english-apa}
|
||||||
\usepackage[noabbrev]{cleveref}
|
\usepackage[noabbrev]{cleveref}
|
||||||
@ -126,26 +127,12 @@
|
|||||||
refname={example,examples},
|
refname={example,examples},
|
||||||
Refname={Example,Examples}
|
Refname={Example,Examples}
|
||||||
]{example}
|
]{example}
|
||||||
% \newtheoremstyle{example}{}{}{}{}{\usekomafont{disposition}}{. }{5pt plus 1pt minus 1pt}{}
|
|
||||||
% Arguments ---
|
|
||||||
% Thm head spec
|
|
||||||
% Space above
|
|
||||||
% Space below
|
|
||||||
% Body font
|
|
||||||
% Indent amount (empty = no indent, \parindent = para indent)
|
|
||||||
% Thm head font
|
|
||||||
% Punctuation after thm head
|
|
||||||
% Space after thm head: \newline = linebreak
|
|
||||||
% --- Note, empty = default value
|
|
||||||
|
|
||||||
% \theoremstyle{example}
|
|
||||||
% \newtheorem{example}{Example}[chapter]
|
|
||||||
|
|
||||||
% Code formatting
|
% Code formatting
|
||||||
\usepackage[
|
\usepackage[
|
||||||
chapter,
|
chapter,
|
||||||
cachedir=listings,
|
cachedir=listings,
|
||||||
outputdir=build,
|
outputdir=latex.out,
|
||||||
]{minted}
|
]{minted}
|
||||||
\usemintedstyle{borland}
|
\usemintedstyle{borland}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user