use RM alias

This commit is contained in:
Mylloon 2024-04-20 15:33:56 +02:00
parent de87f85c45
commit a6a87e467f
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
3 changed files with 6 additions and 3 deletions

View file

@ -5,6 +5,7 @@ SRC = $(TEX)
PDF = $(TEX:.tex=.pdf)
TEXMK = latexmk -lualatex -shell-escape -interaction=nonstopmode
RM = rm -rf
.PHONY: $(PDF)
@ -15,4 +16,4 @@ $(PDF): %.pdf: %.tex
EXTS = aux fdb_latexmk fls log nav out snm synctex.gz toc bbl blg sta
clean:
rm -rf $(PDF) _minted-$(NAME)/ $(foreach ext,$(EXTS),$(NAME).$(ext))
$(RM) $(PDF) _minted-$(NAME)/ $(foreach ext,$(EXTS),$(NAME).$(ext))

View file

@ -5,6 +5,7 @@ SRC = $(TEX)
PDF = $(TEX:.tex=.pdf)
TEXMK = latexmk -lualatex -shell-escape -interaction=nonstopmode
RM = rm -rf
all: $(PDF)
@ -13,4 +14,4 @@ $(PDF): %.pdf: %.tex
EXTS = aux fdb_latexmk fls log nav out snm synctex.gz toc
clean:
rm -rf $(PDF) _minted-$(NAME)/ $(foreach ext,$(EXTS),$(NAME).$(ext))
$(RM) $(PDF) _minted-$(NAME)/ $(foreach ext,$(EXTS),$(NAME).$(ext))

View file

@ -7,6 +7,7 @@ PKG = projektor.sty
TEXMK = latexmk -lualatex -shell-escape -interaction=nonstopmode
WGET = wget -q --show-progress
RM = rf -rf
all: $(PDF)
@ -20,7 +21,7 @@ endif
EXTS = aux fdb_latexmk fls log nav out snm synctex.gz toc vrb
clean:
rm -rf $(PDF) _minted-$(NAME)/ $(foreach ext,$(EXTS),$(NAME).$(ext))
$(RM) $(PDF) _minted-$(NAME)/ $(foreach ext,$(EXTS),$(NAME).$(ext))
updatepackage:
@$(WGET) https://git.mylloon.fr/Anri/projektor/raw/branch/main/projektor.sty \