From: Sergey Fedorov Date: Thu, 9 Jun 2016 17:58:35 +0000 (+0300) Subject: Makefile: Fix tag file generation targets X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ac99c624c6015c264ff9997d6965bccfae0f818f;p=qemu.git Makefile: Fix tag file generation targets "ctags" produces a file named "tags", not "ctags". It doesn't look reasonable to use phony target name as a file name to remove. Just use exact file names to remove in "ctags" and "TAGS" target receipts. Signed-off-by: Sergey Fedorov Signed-off-by: Sergey Fedorov Message-Id: <1465495115-24665-1-git-send-email-sergey.fedorov@linaro.org> Signed-off-by: Paolo Bonzini --- diff --git a/Makefile b/Makefile index ed4032a373..53e4119c47 100644 --- a/Makefile +++ b/Makefile @@ -498,12 +498,12 @@ test speed: all .PHONY: ctags ctags: - rm -f $@ + rm -f tags find "$(SRC_PATH)" -name '*.[hc]' -exec ctags --append {} + .PHONY: TAGS TAGS: - rm -f $@ + rm -f TAGS find "$(SRC_PATH)" -name '*.[hc]' -exec etags --append {} + cscope: