From 23f0826852c85ea439d4629de13da9cf1d4668f9 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 28 Apr 2023 16:34:02 +0200 Subject: sync --- notes/algo/makefile | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 notes/algo/makefile (limited to 'notes/algo/makefile') diff --git a/notes/algo/makefile b/notes/algo/makefile deleted file mode 100644 index 58570c7..0000000 --- a/notes/algo/makefile +++ /dev/null @@ -1,23 +0,0 @@ -VIEW = zathura - -all: - @mkdir -p build/ - @pandoc main.md --filter pandoc-latex-environment --toc -N -V fontsize=11pt -V geometry:a4paper -V geometry:margin=2.5cm -o $(CURDIR)/build/main.tex --pdf-engine-opt=-shell-escape -H header.tex -B title.tex >/dev/null - @(pdflatex -shell-escape -halt-on-error -output-directory $(CURDIR)/build/ $(CURDIR)/build/main.tex | grep '^!.*' -A200 --color=always ||true) & - @progress 3 pdflatex - @cp build/main.pdf . &>/dev/null - @echo done. - -part: - @mkdir -p build/ - @pandoc part.md --filter pandoc-latex-environment -N -V fontsize=11pt -V geometry:a4paper -V geometry:margin=2.5cm -o $(CURDIR)/build/main.tex --pdf-engine-opt=-shell-escape -H header.tex >/dev/null - @(pdflatex -shell-escape -halt-on-error -output-directory $(CURDIR)/build/ $(CURDIR)/build/main.tex | grep '^!.*' -A200 --color=always ||true) & - @progress 1 pdflatex - @echo done. - -clean: - @$(RM) -rf build - -run: all - @clear - @$(VIEW) build/main.pdf -- cgit v1.2.3