clean only clean temp files, full-clean clear the compiled result

This commit is contained in:
Mylloon 2024-10-11 08:44:16 +02:00
parent 85c9bf3443
commit e3959adc80
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
6 changed files with 22 additions and 7 deletions

View file

@ -28,4 +28,7 @@ all:
release release
clean: clean:
$(RM) $(OBJECTS) $(EXE).$(EXE_EXT) $(RM) $(OBJECTS)
full-clean: clean
$(RM) $(EXE).$(EXE_EXT)

View file

@ -26,4 +26,7 @@ all:
release release
clean: clean:
$(RM) $(OBJECTS) $(EXE).$(EXE_EXT) $(RM) $(OBJECTS)
full-clean: clean
$(RM) $(EXE).$(EXE_EXT)

View file

@ -16,4 +16,7 @@ $(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) $(PDF) _minted-$(NAME)/ $(foreach ext,$(EXTS),$(NAME).$(ext)) $(RM) _minted-$(NAME)/ $(foreach ext,$(EXTS),$(NAME).$(ext))
full-clean: clean
$(RM) $(PDF)

View file

@ -14,4 +14,7 @@ $(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) $(PDF) _minted-$(NAME)/ $(foreach ext,$(EXTS),$(NAME).$(ext)) $(RM) _minted-$(NAME)/ $(foreach ext,$(EXTS),$(NAME).$(ext))
full-clean: clean
$(RM) $(PDF)

View file

@ -14,4 +14,7 @@ $(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) $(PDF) _minted-$(NAME)/ $(foreach ext,$(EXTS),$(NAME).$(ext)) $(RM) _minted-$(NAME)/ $(foreach ext,$(EXTS),$(NAME).$(ext))
full-clean: clean
$(RM) $(PDF)

View file

@ -22,10 +22,10 @@ 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) _minted-$(NAME)/ $(foreach ext,$(EXTS),$(NAME).$(ext))
full-clean: clean full-clean: clean
$(RM) $(PKG) $(RM) $(PDF) $(PKG)
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 \