push makefile
This commit is contained in:
parent
71f201f54e
commit
29c709d806
2 changed files with 23 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -3,6 +3,7 @@
|
|||
presentation/*
|
||||
!presentation/*.tex
|
||||
!presentation/*.sty
|
||||
!presentation/Makefile
|
||||
|
||||
bin/
|
||||
lib/
|
||||
|
|
22
presentation/Makefile
Normal file
22
presentation/Makefile
Normal 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
|
Reference in a new issue