Makefile: ./img/raster/* inserite nelle dipendenze
This commit is contained in:
parent
261fee3a1d
commit
6a0efa6ee0
5
Makefile
5
Makefile
|
@ -11,6 +11,9 @@ PDF = $(SVG:.svg=.pdf)
|
|||
vpath %.svg $(SVG_DIR)
|
||||
vpath %.pdf $(VEC_DIR)
|
||||
|
||||
# Select all raster
|
||||
RASTER = $(notdir $(wildcard .img/raster/*))
|
||||
|
||||
### TEX files ###
|
||||
TEX_DIR = ./tex
|
||||
TEX = $(notdir $(wildcard $(TEX_DIR)/*.tex))
|
||||
|
@ -19,7 +22,7 @@ vpath %.tex $(TEX_DIR)
|
|||
|
||||
all: dist/main.pdf figure
|
||||
|
||||
dist/main.pdf: main.tex $(TEX) $(PDF)
|
||||
dist/main.pdf: main.tex $(TEX) $(PDF) $(RASTER)
|
||||
mkdir -p build/tex dist
|
||||
pdflatex -output-directory build -synctex=1 -interaction=nonstopmode main.tex
|
||||
pdflatex -output-directory build -synctex=1 -interaction=nonstopmode main.tex
|
||||
|
|
Loading…
Reference in New Issue