浏览代码

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

nodiscc 1 年之前
父节点
当前提交
806d039b7f
共有 1 个文件被更改,包括 4 次插入0 次删除
  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