add fast web view support

This commit is contained in:
Mylloon 2024-04-26 11:02:54 +02:00
parent 92bcffe284
commit 936049ad8e
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -6,6 +6,7 @@ DIRECTORIES = $(filter-out "." ".git",$(shell find . -maxdepth 1 -type d -printf
TEMPLATE = Template
TEXMK = latexmk -lualatex -interaction=nonstopmode
QPDF = qpdf --linearize --replace-input
RM = rm -f
CP = cp -r
@ -19,6 +20,7 @@ build:
@for dir in $(filter-out "$(TEMPLATE)",$(DIRECTORIES)); do \
cd "$$dir"; \
$(TEXMK) "$(TEX)"; \
$(QPDF) "$(NAME).pdf" 2>/dev/null |:; \
mv $(NAME).pdf "../$(FULLNAME)-$$dir.pdf"; \
cd ..; \
done;