tools/makefile: add make clean target

This commit is contained in:
nodiscc 2023-07-22 11:13:58 +02:00
parent a8b9e06a0f
commit 4e4e656b2c
No known key found for this signature in database
GPG key ID: 067FC4266A4B6909
2 changed files with 5 additions and 0 deletions

View file

@ -44,6 +44,10 @@ authors:
printf "Commits|Author\n-------|---------------------------------------------------\n" > AUTHORS printf "Commits|Author\n-------|---------------------------------------------------\n" > AUTHORS
git shortlog -sne >> AUTHORS git shortlog -sne >> AUTHORS
.PHONY: clean # clean files generated by automated tasks
clean:
rm -rf awesome-selfhosted
.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

View file

@ -86,6 +86,7 @@ awesome_lint check data against awesome-selfhosted guidelines
export export markdown singlepage document from yaml data export export markdown singlepage document from yaml data
url_check check URLs for dead links or other connection problems url_check check URLs for dead links or other connection problems
authors update the AUTHORS file authors update the AUTHORS file
clean clean files generated by automated tasks
help generate list of targets with descriptions help generate list of targets with descriptions
``` ```