-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
13 lines (10 loc) · 949 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
all:
docker run -it --rm -e "USER=$(shell id -un)" -e "USER_ID=$(shell id -u)" -e "GROUP_ID=$(shell id -g)" -v "$(shell pwd):/opt/workdir" jzaremba/tex pdflatex main
docker run -it --rm -e "USER=$(shell id -un)" -e "USER_ID=$(shell id -u)" -e "GROUP_ID=$(shell id -g)" -v "$(shell pwd):/opt/workdir" jzaremba/tex bibtex main
docker run -it --rm -e "USER=$(shell id -un)" -e "USER_ID=$(shell id -u)" -e "GROUP_ID=$(shell id -g)" -v "$(shell pwd):/opt/workdir" jzaremba/tex pdflatex main
docker run -it --rm -e "USER=$(shell id -un)" -e "USER_ID=$(shell id -u)" -e "GROUP_ID=$(shell id -g)" -v "$(shell pwd):/opt/workdir" jzaremba/tex pdflatex main
fast:
docker run -it --rm -e "USER=$(shell id -un)" -e "USER_ID=$(shell id -u)" -e "GROUP_ID=$(shell id -g)" -v "$(shell pwd):/opt/workdir" jzaremba/tex pdflatex main
clean:
rm main.aux main.log main.out main.blg main.bbl main.toc main.lof main.lot main.tdo 2>/dev/null
.PHONY: all fast clean