summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@kernel.org>2018-09-15 14:49:09 -0700
committerAndrew G. Morgan <morgan@kernel.org>2018-09-15 14:53:13 -0700
commit83dc034b3df53eec39d9a7aebafc94ed607d443e (patch)
treeee81538a0e909ca1d94aaed96ec9524f09e51083 /Makefile
parent18d96191775fb9b9c2e5e68ff3c5ec602bdfa81c (diff)
downloadlibcap2-83dc034b3df53eec39d9a7aebafc94ed607d443e.tar.gz
Tidy up the tarball and release make rules.
Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 0a31124..e4af910 100644
--- a/Makefile
+++ b/Makefile
@@ -28,14 +28,15 @@ distclean: clean
$(DISTCLEAN)
release: distclean
- cd .. && ln -s libcap libcap-$(VERSION).$(MINOR) && tar cvf libcap-$(VERSION).$(MINOR).tar libcap-$(VERSION).$(MINOR)/* && rm libcap-$(VERSION).$(MINOR)
- cd .. && gpg -sba -u E2CCF3F4 libcap-$(VERSION).$(MINOR).tar
+ cd .. && ln -s libcap libcap-$(VERSION).$(MINOR) && tar cvf libcap-$(VERSION).$(MINOR).tar --exclude patches libcap-$(VERSION).$(MINOR)/* && rm libcap-$(VERSION).$(MINOR)
test: all
cd progs && sudo ./quicktest.sh
-tagrelease: distclean
+morganrelease: distclean
@echo "sign the tag twice: older DSA key; and newer RSA kernel.org key"
- git tag -u D41A6DF2 -s libcap-$(VERSION).$(MINOR)
- git tag -u E2CCF3F4 -s libcap-korg-$(VERSION).$(MINOR)
+ git tag -u D41A6DF2 -s libcap-$(VERSION).$(MINOR) -m "This is libcap-$(VERSION).$(MINOR)"
+ git tag -u E2CCF3F4 -s libcap-korg-$(VERSION).$(MINOR) -m "This is libcap-$(VERSION).$(MINOR)"
make release
+ @echo "sign the tar file using korg key"
+ cd .. && gpg -sba -u E2CCF3F4 libcap-$(VERSION).$(MINOR).tar