Working
This commit is contained in:
4
Makefile
4
Makefile
@@ -2,7 +2,7 @@ default: pdf
|
||||
|
||||
# Constants.
|
||||
rootname = main
|
||||
rootfile = $(rootname).tex
|
||||
rootfile = src/$(rootname).tex
|
||||
outdir = build
|
||||
outfile = $(outdir)/$(rootname).pdf
|
||||
|
||||
@@ -10,7 +10,7 @@ outfile = $(outdir)/$(rootname).pdf
|
||||
compress = gs -sDEVICE=pdfwrite -dPDFSETTINGS=/$(1) -dCompatibilityLevel=1.4 -dNOPAUSE -dQUIET -dBATCH -sOutputFile=$(outdir)/$(rootname)-$(1).pdf $(outfile)
|
||||
|
||||
# Latex command to build pdf file.
|
||||
latexmk = TEXINPUTS=.:./tlsflyleaf/: latexmk -lualatex -f -latexoption=-shell-escape -interaction=nonstopmode $< -outdir=$(outdir) $(1) $(rootfile)
|
||||
latexmk = TEXINPUTS=.:./tlsflyleaf/:./src/: latexmk -lualatex -f -latexoption=-shell-escape -interaction=nonstopmode $< -outdir=$(outdir) $(1) $(rootfile)
|
||||
|
||||
# Build PDF version adapted to printers.
|
||||
printer: pdf
|
||||
|
||||
Reference in New Issue
Block a user