Commit 2e6cb8b0 authored by Matt Kraai's avatar Matt Kraai Committed by 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: default avatarMatt Kraai <kraai@ftbfs.org>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment