Be more complete when looking for stray files in the build tree
Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
diff --git a/Makefile b/Makefile
index 8e8d5f3..53ee901 100644
--- a/Makefile
+++ b/Makefile
@@ -35,7 +35,7 @@
for x in $$(find . -name go.mod); do grep -F -v "module" $$x | fgrep "kernel.org/pub/linux/libs/security/libcap" > /dev/null || continue ; grep -F "v$(GOMAJOR).$(VERSION).$(MINOR)" $$x > /dev/null && continue ; echo "$$x is not updated to v$(GOMAJOR).$(VERSION).$(MINOR)" ; exit 1 ; done
@echo "ALL go.mod files updated"
@echo "Now validate that everything is checked in to a clean tree.."
- test -z "$$(git status -s)"
+ test -z "$$(git status --ignored -s)"
@echo "All good!"
release: distclean