tools/makefile: add make clean target

This commit is contained in:
nodiscc
2023-07-22 11:13:58 +02:00
parent a8b9e06a0f
commit 4e4e656b2c
2 changed files with 5 additions and 0 deletions

View File

@@ -44,6 +44,10 @@ authors:
printf "Commits|Author\n-------|---------------------------------------------------\n" > 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
help:
@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
url_check check URLs for dead links or other connection problems
authors update the AUTHORS file
clean clean files generated by automated tasks
help generate list of targets with descriptions
```