use RM alias
This commit is contained in:
parent
de87f85c45
commit
a6a87e467f
3 changed files with 6 additions and 3 deletions
|
@ -5,6 +5,7 @@ SRC = $(TEX)
|
||||||
PDF = $(TEX:.tex=.pdf)
|
PDF = $(TEX:.tex=.pdf)
|
||||||
|
|
||||||
TEXMK = latexmk -lualatex -shell-escape -interaction=nonstopmode
|
TEXMK = latexmk -lualatex -shell-escape -interaction=nonstopmode
|
||||||
|
RM = rm -rf
|
||||||
|
|
||||||
.PHONY: $(PDF)
|
.PHONY: $(PDF)
|
||||||
|
|
||||||
|
@ -15,4 +16,4 @@ $(PDF): %.pdf: %.tex
|
||||||
|
|
||||||
EXTS = aux fdb_latexmk fls log nav out snm synctex.gz toc bbl blg sta
|
EXTS = aux fdb_latexmk fls log nav out snm synctex.gz toc bbl blg sta
|
||||||
clean:
|
clean:
|
||||||
rm -rf $(PDF) _minted-$(NAME)/ $(foreach ext,$(EXTS),$(NAME).$(ext))
|
$(RM) $(PDF) _minted-$(NAME)/ $(foreach ext,$(EXTS),$(NAME).$(ext))
|
||||||
|
|
|
@ -5,6 +5,7 @@ SRC = $(TEX)
|
||||||
PDF = $(TEX:.tex=.pdf)
|
PDF = $(TEX:.tex=.pdf)
|
||||||
|
|
||||||
TEXMK = latexmk -lualatex -shell-escape -interaction=nonstopmode
|
TEXMK = latexmk -lualatex -shell-escape -interaction=nonstopmode
|
||||||
|
RM = rm -rf
|
||||||
|
|
||||||
all: $(PDF)
|
all: $(PDF)
|
||||||
|
|
||||||
|
@ -13,4 +14,4 @@ $(PDF): %.pdf: %.tex
|
||||||
|
|
||||||
EXTS = aux fdb_latexmk fls log nav out snm synctex.gz toc
|
EXTS = aux fdb_latexmk fls log nav out snm synctex.gz toc
|
||||||
clean:
|
clean:
|
||||||
rm -rf $(PDF) _minted-$(NAME)/ $(foreach ext,$(EXTS),$(NAME).$(ext))
|
$(RM) $(PDF) _minted-$(NAME)/ $(foreach ext,$(EXTS),$(NAME).$(ext))
|
||||||
|
|
|
@ -7,6 +7,7 @@ PKG = projektor.sty
|
||||||
|
|
||||||
TEXMK = latexmk -lualatex -shell-escape -interaction=nonstopmode
|
TEXMK = latexmk -lualatex -shell-escape -interaction=nonstopmode
|
||||||
WGET = wget -q --show-progress
|
WGET = wget -q --show-progress
|
||||||
|
RM = rf -rf
|
||||||
|
|
||||||
|
|
||||||
all: $(PDF)
|
all: $(PDF)
|
||||||
|
@ -20,7 +21,7 @@ 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 -rf $(PDF) _minted-$(NAME)/ $(foreach ext,$(EXTS),$(NAME).$(ext))
|
$(RM) $(PDF) _minted-$(NAME)/ $(foreach ext,$(EXTS),$(NAME).$(ext))
|
||||||
|
|
||||||
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 \
|
||||||
|
|
Loading…
Reference in a new issue