tools/makefile: add clean target (clean files generated by automated tasks)

This commit is contained in:
nodiscc 2023-09-04 14:38:44 +02:00
parent e077639e82
commit 806d039b7f
No known key found for this signature in database
GPG Key ID: 067FC4266A4B6909

View File

@ -24,6 +24,10 @@ url_check: install
source .venv/bin/activate && \ source .venv/bin/activate && \
hecat --config .hecat/url-check.yml hecat --config .hecat/url-check.yml
.PHONY: clean # clean files generated by automated tasks
clean:
rm -rf .venv/ licenses.yml platforms/ software/ tags/
.PHONY: help # generate list of targets with descriptions .PHONY: help # generate list of targets with descriptions
help: help:
@grep '^.PHONY: .* #' Makefile | sed 's/\.PHONY: \(.*\) # \(.*\)/\1 \2/' | expand -t20 @grep '^.PHONY: .* #' Makefile | sed 's/\.PHONY: \(.*\) # \(.*\)/\1 \2/' | expand -t20