]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Makefile
coccicheck: introduce 'pending' semantic patches
[thirdparty/git.git] / Makefile
index bbfbb4292d49e99704d75a093a97d432c537cd8d..6bc4654828dd2edf42b54ecfc906e73b45336f7a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2740,9 +2740,12 @@ endif
        then \
                echo '    ' SPATCH result: $@; \
        fi
-coccicheck: $(addsuffix .patch,$(wildcard contrib/coccinelle/*.cocci))
+coccicheck: $(addsuffix .patch,$(filter-out %.pending.cocci,$(wildcard contrib/coccinelle/*.cocci)))
 
-.PHONY: coccicheck
+# See contrib/coccinelle/README
+coccicheck-pending: $(addsuffix .patch,$(wildcard contrib/coccinelle/*.pending.cocci))
+
+.PHONY: coccicheck coccicheck-pending
 
 ### Installation rules