add makefile to build pdf
This commit is contained in:
parent
2fa3db1e9e
commit
352c20343b
2 changed files with 14 additions and 0 deletions
10
Makefile
Normal file
10
Makefile
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
.PHONY: clean aktiv
|
||||||
|
|
||||||
|
aktiv: Aufnahmeantrag_aktiv/src/Aufnahmeantrag_aktiv.tex\
|
||||||
|
Aufnahmeantrag_aktiv/src/headfoot.tex
|
||||||
|
./latexdockercmd.sh pdflatex Aufnahmeantrag_aktiv/src/Aufnahmeantrag_aktiv.tex
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm *.aux *.log *.out *.pdf
|
||||||
|
|
||||||
|
default: aktiv
|
4
latexdockercmd.sh
Executable file
4
latexdockercmd.sh
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
IMAGE=blang/latex:ubuntu
|
||||||
|
# IMAGE=blang/latex:ctanbasic
|
||||||
|
exec docker run --rm -i --user="$(id -u):$(id -g)" --net=none -v "$PWD":/data "$IMAGE" "$@"
|
Reference in a new issue