push makefile

This commit is contained in:
Mylloon 2023-05-09 19:07:56 +02:00
parent 71f201f54e
commit 29c709d806
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 23 additions and 0 deletions

1
.gitignore vendored
View file

@ -3,6 +3,7 @@
presentation/* presentation/*
!presentation/*.tex !presentation/*.tex
!presentation/*.sty !presentation/*.sty
!presentation/Makefile
bin/ bin/
lib/ lib/

22
presentation/Makefile Normal file
View file

@ -0,0 +1,22 @@
NAME = slides
TEX = $(NAME).tex
SRC = $(TEX)
PDF = $(TEX:.tex=.pdf)
TEXMK = latexmk -lualatex
WGET = wget -q --show-progress
all: $(PDF)
$(PDF): $(SRC)
@$(TEXMK) $(TEX)
$(TEXMK) $(FLAGS) $(TEX)
EXTS = aux fdb_latexmk fls log nav out snm synctex.gz toc vrb
clean:
rm -rf $(PDF) _minted-$(NAME)/ $(foreach ext,$(EXTS),$(NAME).$(ext))
updatepackage:
@$(WGET) https://git.mylloon.fr/Anri/projektor/raw/branch/main/projektor.sty \
-O projektor.sty