download projektor then build instead of exiting
This commit is contained in:
parent
a6a87e467f
commit
f1f4c2aa85
1 changed files with 6 additions and 1 deletions
|
@ -16,13 +16,18 @@ $(PDF): %.pdf: %.tex
|
|||
ifneq (,$(wildcard $(PKG)))
|
||||
@$(TEXMK) $<
|
||||
else
|
||||
@echo "Can't proceed, $(PKG) missing."
|
||||
@$(MAKE) updatepackage
|
||||
@$(MAKE) $@
|
||||
endif
|
||||
|
||||
EXTS = aux fdb_latexmk fls log nav out snm synctex.gz toc vrb
|
||||
clean:
|
||||
$(RM) $(PDF) _minted-$(NAME)/ $(foreach ext,$(EXTS),$(NAME).$(ext))
|
||||
|
||||
full-clean:
|
||||
$(RM) $(PKG)
|
||||
@$(MAKE) clean
|
||||
|
||||
updatepackage:
|
||||
@$(WGET) https://git.mylloon.fr/Anri/projektor/raw/branch/main/projektor.sty \
|
||||
-O $(PKG)
|
||||
|
|
Loading…
Reference in a new issue