summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@kernel.org>2020-08-15 11:17:55 -0700
committerAndrew G. Morgan <morgan@kernel.org>2020-08-15 11:17:55 -0700
commitdbeb06ba295fcac6dd2e602ab489b392647b4a07 (patch)
treecf5d7097723d669bf103bfd8d0278f28e124b2ea /Makefile
parent1b99022113e22505d664d52136e1ecc662624f03 (diff)
downloadlibcap2-dbeb06ba295fcac6dd2e602ab489b392647b4a07.tar.gz
Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c5ca17b..ab2ebab 100644
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,9 @@ distclean: clean
@echo "CONFIRM Go package cap has right version dependency on cap/psx:"
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)"
+ @echo "All good!"
release: distclean
cd .. && ln -s libcap libcap-$(VERSION).$(MINOR) && tar cvf libcap-$(VERSION).$(MINOR).tar --exclude patches libcap-$(VERSION).$(MINOR)/* && rm libcap-$(VERSION).$(MINOR)