This repository has been archived on 2024-05-19. You can view files and clone it, but cannot push or open issues or pull requests.
l-systems/report/Makefile

19 lines
390 B
Makefile
Raw Normal View History

2024-04-15 19:10:30 +02:00
NAME = document
TEX = $(NAME).tex
SRC = $(TEX)
PDF = $(TEX:.tex=.pdf)
TEXMK = latexmk -shell-escape -lualatex -interaction=nonstopmode
2024-04-26 21:05:19 +02:00
QPDF = qpdf --linearize --replace-input
2024-04-15 19:10:30 +02:00
all: $(PDF)
$(PDF): %.pdf: %.tex
$(TEXMK) $<
2024-04-26 21:05:19 +02:00
@$(QPDF) $@ 2>/dev/null |:
2024-04-15 19:10:30 +02:00
EXTS = aux fdb_latexmk fls log nav out snm synctex.gz toc
clean:
rm -rf $(PDF) _minted-$(NAME)/ $(foreach ext,$(EXTS),$(NAME).$(ext))