提交 2e6cb8b0 编写于 作者: M Matt Kraai 提交者: Sam Ravnborg

kbuild: remove a tag file before it is regenerated

If a tag file is not removed before it is regenerated, the newly
generated data is appended to the old, which preserves stale data and
makes the tag file grow over time.
Signed-off-by: NMatt Kraai <kraai@ftbfs.org>
Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
上级 c4d5ee67
......@@ -164,10 +164,12 @@ case "$1" in
;;
"tags")
rm -f tags
xtags ctags
;;
"TAGS")
rm -f TAGS
xtags etags
;;
esac
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册