From 568903400822c5b17e8e84101cb495d20aa7e538 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Hutter?= Date: Thu, 29 Feb 2024 08:28:52 +0100 Subject: [PATCH] Added clean option that removes the staging dir and the output file --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4878ed8..04362b2 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ help: @echo ' ' @echo 'Änderungswünsche werden ausschließlich via issue und pullrequest ' @echo 'Usage: ' - @echo ' make pdf generate a PDF file ' + @echo ' make pdf generate a PDF file ' @echo ' make spellcheck checks the output for misspelled words ' @echo ' ' @echo ' ' @@ -98,5 +98,12 @@ spellcheck: build-stage do-spellcheck remove-stage pdf: build-stage compile-pdf remove-stage +clean: + # Remove the staging directory + @rm -rf $(STAGINGDIR) + + # And remove the current result + @rm -f $(OUTPUTFILE) + # Special Targets .PHONY: help pdf clean