diff options
author | Andrew G. Morgan <morgan@kernel.org> | 2018-09-15 14:49:09 -0700 |
---|---|---|
committer | Andrew G. Morgan <morgan@kernel.org> | 2018-09-15 14:53:13 -0700 |
commit | 83dc034b3df53eec39d9a7aebafc94ed607d443e (patch) | |
tree | ee81538a0e909ca1d94aaed96ec9524f09e51083 /Makefile | |
parent | 18d96191775fb9b9c2e5e68ff3c5ec602bdfa81c (diff) | |
download | libcap2-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-- | Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -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 |