forked from Hg/htlle-da-vorlage
Added clean option that removes the staging dir and the output file
This commit is contained in:
parent
1ee2fb447e
commit
5689034008
9
Makefile
9
Makefile
@ -25,7 +25,7 @@ help:
|
|||||||
@echo ' '
|
@echo ' '
|
||||||
@echo 'Änderungswünsche werden ausschließlich via issue und pullrequest '
|
@echo 'Änderungswünsche werden ausschließlich via issue und pullrequest '
|
||||||
@echo 'Usage: '
|
@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 ' make spellcheck checks the output for misspelled words '
|
||||||
@echo ' '
|
@echo ' '
|
||||||
@echo ' '
|
@echo ' '
|
||||||
@ -98,5 +98,12 @@ spellcheck: build-stage do-spellcheck remove-stage
|
|||||||
|
|
||||||
pdf: build-stage compile-pdf 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
|
# Special Targets
|
||||||
.PHONY: help pdf clean
|
.PHONY: help pdf clean
|
||||||
|
Loading…
Reference in New Issue
Block a user