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)))
|
ifneq (,$(wildcard $(PKG)))
|
||||||
@$(TEXMK) $<
|
@$(TEXMK) $<
|
||||||
else
|
else
|
||||||
@echo "Can't proceed, $(PKG) missing."
|
@$(MAKE) updatepackage
|
||||||
|
@$(MAKE) $@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
EXTS = aux fdb_latexmk fls log nav out snm synctex.gz toc vrb
|
EXTS = aux fdb_latexmk fls log nav out snm synctex.gz toc vrb
|
||||||
clean:
|
clean:
|
||||||
$(RM) $(PDF) _minted-$(NAME)/ $(foreach ext,$(EXTS),$(NAME).$(ext))
|
$(RM) $(PDF) _minted-$(NAME)/ $(foreach ext,$(EXTS),$(NAME).$(ext))
|
||||||
|
|
||||||
|
full-clean:
|
||||||
|
$(RM) $(PKG)
|
||||||
|
@$(MAKE) clean
|
||||||
|
|
||||||
updatepackage:
|
updatepackage:
|
||||||
@$(WGET) https://git.mylloon.fr/Anri/projektor/raw/branch/main/projektor.sty \
|
@$(WGET) https://git.mylloon.fr/Anri/projektor/raw/branch/main/projektor.sty \
|
||||||
-O $(PKG)
|
-O $(PKG)
|
||||||
|
|
Loading…
Reference in a new issue