Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
coccinelle: mark the 'coccicheck' make target as .PHONY
author
SZEDER Gábor
<szeder.dev@gmail.com>
Mon, 23 Jul 2018 13:50:56 +0000
(15:50 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 23 Jul 2018 19:35:31 +0000
(12:35 -0700)
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>
Makefile
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
b7bd948
)
diff --git
a/Makefile
b/Makefile
index 08e5c545492c7261dea349d002aef8d3ea1d232f..530be4eca67bbe6f6dfd1d3e649cccaf67a6744d 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-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))),)