coccinelle: mark the 'coccicheck' make target as .PHONY

The 'coccicheck' target doesn't create a file with the same name, so
mark it as .PHONY.

Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
SZEDER Gábor 2018-07-23 15:50:56 +02:00 committed by Junio C Hamano
parent b7bd9486b0
commit 0c7642562e

View File

@ -2688,6 +2688,8 @@ C_SOURCES = $(patsubst %.o,%.c,$(C_OBJ))
fi
coccicheck: $(patsubst %.cocci,%.cocci.patch,$(wildcard contrib/coccinelle/*.cocci))
.PHONY: coccicheck
### Installation rules
ifneq ($(filter /%,$(firstword $(template_dir))),)