summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@kernel.org>2020-12-12 15:53:01 -0800
committerAndrew G. Morgan <morgan@kernel.org>2020-12-12 15:53:01 -0800
commit2e86248a97f437896f3a96167fbd98a2bbaafc98 (patch)
treec725b87934dd16188535c201ea73eddb43f3c2d8
parent90192cd36471c7dfb44b4ecd6a8ccf7595d26e9d (diff)
downloadlibcap2-2e86248a97f437896f3a96167fbd98a2bbaafc98.tar.gz
Be more complete when looking for stray files in the build tree
Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8e8d5f3..53ee901 100644
--- a/Makefile
+++ b/Makefile
@@ -35,7 +35,7 @@ distclean: clean
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