소스 검색

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