Bopytex/Makefile

20 lines
733 B
Makefile
Raw Permalink Normal View History

docker-build-simple:
docker build -f Dockerfile.simple -t simple .
2022-07-28 07:39:51 +00:00
docker-simple: docker-build-simple
docker run simple sh -c "bopytex -q 2 tpl_example.tex && ls"
docker-build-usecase:
docker build -f Dockerfile.usecase -t usecase .
2022-07-28 07:39:51 +00:00
docker-usecase: docker-build-usecase
docker run usecase sh -c "bopytex -s students.csv tpl_example.tex && cat 1_example.tex"
usecase-example: docker-build-usecase
docker run usecase sh -c "bopytex -s students.csv tpl_example.tex && cat joined_example.pdf" > example/usecase/joined_example.pdf
simple-example: docker-build-simple
docker run simple sh -c "bopytex -q 2 tpl_example.tex && cat joined_example.pdf" > example/simple/joined_example.pdf
examples: usecase-example simple-example