add makefile to build pdf #4

Merged
tux merged 8 commits from makefile into master 2020-04-14 00:03:04 +02:00
2 changed files with 14 additions and 0 deletions
Showing only changes of commit 352c20343b - Show all commits

10
Makefile Normal file
View 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
View 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" "$@"