1
0
Fork 0

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: Matt Kraai <kraai@ftbfs.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
hifive-unleashed-5.1
Matt Kraai 2009-04-21 20:38:23 -07:00 committed by Sam Ravnborg
parent c4d5ee67ce
commit 2e6cb8b0dc
1 changed files with 2 additions and 0 deletions

View File

@ -164,10 +164,12 @@ case "$1" in
;;
"tags")
rm -f tags
xtags ctags
;;
"TAGS")
rm -f TAGS
xtags etags
;;
esac