From a6a87e467f65773ea69d5c44572a16bfd2812b48 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sat, 20 Apr 2024 15:33:56 +0200 Subject: [PATCH] use RM alias --- latex/book/Makefile | 3 ++- latex/document/Makefile | 3 ++- latex/presentation/Makefile | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/latex/book/Makefile b/latex/book/Makefile index a0ad4da..6ffe6e6 100644 --- a/latex/book/Makefile +++ b/latex/book/Makefile @@ -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)) diff --git a/latex/document/Makefile b/latex/document/Makefile index 19fc9c8..61b3509 100644 --- a/latex/document/Makefile +++ b/latex/document/Makefile @@ -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)) diff --git a/latex/presentation/Makefile b/latex/presentation/Makefile index 33d14b0..64c2ae7 100644 --- a/latex/presentation/Makefile +++ b/latex/presentation/Makefile @@ -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 \