Update build system
This commit is contained in:
parent
ca9c5725db
commit
a31b35859c
12
Makefile
12
Makefile
@ -4,7 +4,6 @@ MAKE=make
|
||||
LATEX=xelatex
|
||||
BIBTEX=biber
|
||||
MAKEGLOS=makeglossaries
|
||||
BUILDDIR=build
|
||||
|
||||
.PHONY: FORCE
|
||||
|
||||
@ -12,20 +11,21 @@ main: dekker_thesis.pdf
|
||||
|
||||
all: $(TARGETS)
|
||||
|
||||
$(BUILDDIR)/.sync:
|
||||
latex.out/.sync:
|
||||
pipenv sync
|
||||
touch latex.out/.sync
|
||||
|
||||
%.pdf: %.tex FORCE
|
||||
%.pdf: %.tex latex.out/.sync FORCE
|
||||
$(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:
|
||||
pipenv lock
|
||||
rm -f $(BUILDDIR)/.sync
|
||||
rm -f latex.out/.sync
|
||||
|
||||
clean:
|
||||
./vendor/latexrun --clean-all
|
||||
rm -f indent.log
|
||||
|
||||
clobber:
|
||||
rm -rf build/*
|
||||
rm -rf latex.out/*
|
||||
|
@ -52,6 +52,7 @@
|
||||
% References
|
||||
\usepackage[
|
||||
style=apa,
|
||||
backend=biber,
|
||||
]{biblatex}
|
||||
\DeclareLanguageMapping{australian}{english-apa}
|
||||
\usepackage[noabbrev]{cleveref}
|
||||
@ -126,26 +127,12 @@
|
||||
refname={example,examples},
|
||||
Refname={Example,Examples}
|
||||
]{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
|
||||
\usepackage[
|
||||
chapter,
|
||||
cachedir=listings,
|
||||
outputdir=build,
|
||||
outputdir=latex.out,
|
||||
]{minted}
|
||||
\usemintedstyle{borland}
|
||||
|
||||
|
Reference in New Issue
Block a user