Skip to content

Commit ac0f144

Browse files
authored
Merge pull request #23 from pep-dortmund/makefile_vVariable
change variable NUMBER to TEXFILE, in sync with homepage introduction pr
2 parents b718c8b + 4e67cec commit ac0f144

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

vXXX/Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
NUMBER = XXX
1+
TEXFILE = vXXX
22

3-
all: build/v$(NUMBER).pdf
3+
all: build/$(TEXFILE).pdf
44

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

1212
# hier weitere Abhängigkeiten für build/vXXX.pdf deklarieren:
13-
build/v$(NUMBER).pdf: build/plot.pdf
13+
build/$(TEXFILE).pdf: build/plot.pdf
1414

15-
build/v$(NUMBER).pdf: FORCE | build
15+
build/$(TEXFILE).pdf: FORCE | build
1616
# to find header and bib files in the main directory
1717
TEXINPUTS=..: \
1818
BIBINPUTS=..: \
@@ -22,7 +22,7 @@ build/v$(NUMBER).pdf: FORCE | build
2222
--output-directory=build \
2323
--interaction=nonstopmode \
2424
--halt-on-error \
25-
v$(NUMBER).tex
25+
$(TEXFILE).tex
2626

2727
build:
2828
mkdir -p build

0 commit comments

Comments
 (0)