Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions vXXX/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
all: build/vXXX.pdf
NUMBER = XXX

all: build/v$(NUMBER).pdf

# hier Python-Skripte:
build/plot.pdf: plot.py ../matplotlibrc ../header-matplotlib.tex | build
Expand All @@ -8,9 +10,9 @@ build/plot.pdf: plot.py ../matplotlibrc ../header-matplotlib.tex | build
TEXINPUTS=$$(pwd)/..: MATPLOTLIBRC=../matplotlibrc python plot.py

# hier weitere Abhängigkeiten für build/vXXX.pdf deklarieren:
build/vXXX.pdf: build/plot.pdf
build/v$(NUMBER).pdf: build/plot.pdf

build/vXXX.pdf: FORCE | build
build/v$(NUMBER).pdf: FORCE | build
# to find header and bib files in the main directory
TEXINPUTS=..: \
BIBINPUTS=..: \
Expand All @@ -20,7 +22,7 @@ build/vXXX.pdf: FORCE | build
--output-directory=build \
--interaction=nonstopmode \
--halt-on-error \
vXXX.tex
v$(NUMBER).tex

build:
mkdir -p build
Expand Down