Added bibliography, changed makefile

This commit is contained in:
Connor Johnstone
2022-02-07 17:31:27 -07:00
parent f0e99e4658
commit bf198a6fe4
4 changed files with 62 additions and 153 deletions

View File

@@ -21,15 +21,48 @@ $(NOTES_PDFS): $(NOTES)
thesis_pdf/:
mkdir $@
$(THESIS_PDF): $(THESIS) thesis_pdf/
xelatex $<
xelatex $<
mv thesis.* thesis_pdf/
cp thesis_pdf/thesis.pdf .
$(THESIS_PDF): $(THESIS) LaTeX/thesis.bib
mkdir temp
cp -r LaTeX/fig .
cp -r LaTeX/flowcharts .
cp -r LaTeX/thesis.tex .
cp -r LaTeX/macros.tex .
cp -r LaTeX/thesis.bib .
cp -r LaTeX/thesis.cls .
xelatex thesis
bibtex thesis
xelatex thesis
xelatex thesis
rm -rf fig
rm -rf flowcharts
cp thesis.pdf temp/.
rm -rf macros.tex
rm -rf thesis.*
cp temp/thesis.pdf .
rm -rf temp
.PHONY: clean
.PHONY: clean revise
clean:
rm -rf $(THESIS_PDF)
rm -rf $(NOTES_PDFS)
rm -rf thesis_pdf
revise: $(THESIS) LaTeX/thesis.bib
mkdir -p temp
cp -r LaTeX/fig .
cp -r LaTeX/flowcharts .
cp -r LaTeX/thesis.tex .
cp -r LaTeX/macros.tex .
cp -r LaTeX/thesis.bib .
cp -r LaTeX/thesis.cls .
xelatex thesis
bibtex thesis
xelatex thesis
xelatex thesis
rm -rf fig
rm -rf flowcharts
cp thesis.pdf temp/.
rm -rf macros.tex
rm -rf thesis.*
cp temp/thesis.pdf .