diff options
author | Simon Josefsson <simon@josefsson.org> | 2004-12-09 23:44:53 +0000 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2004-12-09 23:44:53 +0000 |
commit | fd41f5736d899fdaea428916227770ac6bf6b4fe (patch) | |
tree | 7469ea141cbf94f31c40c00ebd9cbec0b1773e2f /Makefile.am | |
parent | 36d9d34e2070a86dd870f3e789cf06030a23e32d (diff) | |
download | libtasn1-fd41f5736d899fdaea428916227770ac6bf6b4fe.tar.gz libtasn1-fd41f5736d899fdaea428916227770ac6bf6b4fe.tar.bz2 libtasn1-fd41f5736d899fdaea428916227770ac6bf6b4fe.zip |
Add release target.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index aa64ba4..b2e54c2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3,4 +3,24 @@ SUBDIRS = lib src tests doc ChangeLog: - cvs2cl --utc -U .cvsusers --fsf -t -S --prune + cvs2cl --utc -U .cvsusers --fsf -t -S -I ChangeLog -I .cvs + +htmldir = ../www-gnutls +tag = $(PACKAGE)_`echo $(VERSION) | sed 's/\./_/g'` + +release: + if cvs upd -p -r $(tag) NEWS > /dev/null; then false else true; fi + cvs rtag $(tag) libtasn1 + rm -f ChangeLog + make ChangeLog + cvs commit -m "" ChangeLog + cvs rtag -F $(tag) libtasn1 + make dist + gpg -b $(distdir).tar.gz + gpg --verify $(distdir).tar.gz.sig + scp $(distdir).tar.bz2{,.sig} igloo.linux.gr:/ftp/pub/gnutls/libtasn1 + ssh igloo.linux.gr 'cd /ftp/pub/gnutls/libtasn1 && sha1sum *.tar.gz *.tar.bz2 > CHECKSUMS' + cp -v $(distdir).tar.bz2{,.sig} $(htmldir)/releases/libtasn1/ + cd $(htmldir) && \ + cvs add -kb releases/libtasn1/$(distdir).tar.bz2{,.sig} && \ + cvs commit -m "Update." releases/libtasn1/ |