-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
49 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,32 @@ | ||
|
||
BUILD_DIR := $(CURDIR)/build | ||
|
||
PDFLATEX := TEXINPUTS=$(CURDIR):$(CURDIR)/src:$(CURDIR)/dependencies/ucsb/sty: \ | ||
PDFLATEX := TEXINPUTS=$(CURDIR):$(CURDIR)/src:${BUILD_DIR}/dependencies/ucsb/sty: \ | ||
pdflatex -interaction=nonstopmode -halt-on-error -output-directory ${BUILD_DIR} | ||
|
||
BIBTEX := BSTINPUTS=$(CURDIR)/dependencies/ucsb: BIBINPUTS=$(CURDIR)/src: \ | ||
BIBTEX := BSTINPUTS=${BUILD_DIR}/dependencies/ucsb: BIBINPUTS=$(CURDIR)/src: \ | ||
bibtex | ||
|
||
JUNK := *.pdf *.aux *.log *.bbl *.blg *.toc *.out *.fdb_latexmk *.fls *.synctex.gz | ||
|
||
all: thesis | ||
|
||
thesis: | ||
.PHONY: all thesis patch clean | ||
|
||
all: clean thesis | ||
|
||
thesis: patch | ||
mkdir -p ${BUILD_DIR}/final | ||
mkdir -p ${BUILD_DIR}/chapters | ||
$(PDFLATEX) thesis | ||
${PDFLATEX} thesis | ||
cd ${BUILD_DIR} && $(BIBTEX) thesis | ||
$(PDFLATEX) thesis | ||
$(PDFLATEX) thesis | ||
${PDFLATEX} thesis | ||
${PDFLATEX} thesis | ||
|
||
patch: dependencies.patch | ||
mkdir -p ${BUILD_DIR} | ||
rm -rf ${BUILD_DIR}/dependencies | ||
cp -ra dependencies ${BUILD_DIR}/dependencies | ||
cd ${BUILD_DIR} && patch -p0 < ../dependencies.patch | ||
|
||
clean: | ||
rm -rf build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
diff -Naur dependencies/ucsb/sty/ucthesis-CA2012.cls build/dependencies/ucsb/sty/ucthesis-CA2012.cls | ||
--- dependencies/ucsb/sty/ucthesis-CA2012.cls 2023-09-06 14:07:16.034801000 -0700 | ||
+++ build/dependencies/ucsb/sty/ucthesis-CA2012.cls 2023-09-06 14:12:03.413772500 -0700 | ||
@@ -206,12 +206,9 @@ | ||
\bigskip \medskip \vspace{6ex} | ||
\fmfont {\bfseries \Large {\@title} \par} % Formatting of the Dissertation title | ||
\bigskip \medskip \vspace{6ex} | ||
- A dissertation submitted in partial satisfaction \par | ||
+ A thesis submitted in partial satisfaction of the \par | ||
\smallskip | ||
- of the requirements for the degree \par | ||
- \bigskip {\@degree} \par | ||
- \smallskip in \par | ||
- \smallskip {\@field} \par | ||
+ requirements for the degree {\@degree} \par | ||
\bigskip \medskip by \par | ||
\bigskip \medskip {\@author} \par | ||
\end{center} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters