contrib/Makefile: add target clean

This commit is contained in:
Christian Hesse 2025-11-18 19:18:43 +01:00
parent e0b12a9050
commit 70675a9fee

View file

@ -2,7 +2,7 @@
HTML := $(shell grep -xl '<!-- static html //-->' *.html) HTML := $(shell grep -xl '<!-- static html //-->' *.html)
.PHONY: all docs .PHONY: all docs clean
all: docs all: docs
@ -11,3 +11,7 @@ badges.html: badges.md
docs: static-html.sh $(HTML) badges.html docs: static-html.sh $(HTML) badges.html
./static-html.sh $(HTML) ./static-html.sh $(HTML)
clean:
rm -f badges.html
git checkout HEAD -- $(HTML)