Explorar o código

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

nodiscc hai 1 ano
pai
achega
806d039b7f
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      Makefile

+ 4 - 0
Makefile

@@ -24,6 +24,10 @@ url_check: install
 	source .venv/bin/activate && \
 	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
 help:
 	@grep '^.PHONY: .* #' Makefile | sed 's/\.PHONY: \(.*\) # \(.*\)/\1	\2/' | expand -t20