summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorFilip Wandzio <contact@philw.dev>2025-10-03 00:25:24 +0200
committerFilip Wandzio <contact@philw.dev>2025-10-03 00:25:24 +0200
commitfee6fdbfbd445ed8453856ed133d2b41068d785e (patch)
tree9238bb8ef440a55de3c8bed5568ba9e06e4c2da3 /Makefile
downloadmm_03102025_matrix-master.tar.gz
mm_03102025_matrix-master.zip
Finishing touchesHEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..ef7f2fb
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,18 @@
1
2
3IMAGE_NAME = latex
4MAIN_TEX = main.tex
5OUT_PDF = mm_03102025_matrix.pdf
6
7build:
8 docker build -t $(IMAGE_NAME) .
9
10compile:
11 docker run --rm -v "$(PWD)":/data $(IMAGE_NAME) latexmk -pdf -shell-escape $(MAIN_TEX)
12
13bib:
14 docker run --rm -v "$(PWD)":/data $(IMAGE_NAME) bibtex $(basename $(MAIN_TEX))
15
16cleanall:
17 # docker run --rm -v "$(PWD)":/data $(IMAGE_NAME) latexmk -C $(MAIN_TEX)
18 git clean -xdf