Initial commit

This commit is contained in:
2024-08-01 17:24:04 +09:00
commit 8f2c8b6d06
10 changed files with 674 additions and 0 deletions

24
Makefile Normal file
View File

@@ -0,0 +1,24 @@
NAME=CHANGEME
RM=/bin/rm
TEX=lualatex
BIB=biber
TEXFLAGS=--interaction=nonstopmode --output-directory=./output/
BIBFLAGS=--input-directory=./output --output-directory=./output/
PRINTFORMAT="\033[1;92;49m%s\033[m\n"
.PHONY: all clean
all:
@mkdir -p output
@printf ${PRINTFORMAT} "[1/4] First Compilation"
${TEX} ${TEXFLAGS} ./src/${NAME}.tex
@printf ${PRINTFORMAT} "[2/4] Bib Generation"
${BIB} ${BIBFLAGS} ${NAME}
@printf ${PRINTFORMAT} "[3/4] Second Compilation"
${TEX} ${TEXFLAGS} ./src/${NAME}.tex
@printf ${PRINTFORMAT} "[4/4] Final Compilation"
${TEX} ${TEXFLAGS} ./src/${NAME}.tex
clean:
${RM} ./output/{*.aux,*.log,*.out,*.blg,*.bcf,*.bbl,*.xml}