summaryrefslogtreecommitdiff
path: root/cfg.mk
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-08-29 13:19:09 +0200
committerSimon Josefsson <simon@josefsson.org>2008-08-29 13:19:09 +0200
commit274986f67ae732194a35d81ebfa5aada8b13436f (patch)
tree4350144451c0dfc859a71ce1abdb96c408741c0d /cfg.mk
parent2c9f3052d26e558f7610a75ff9013ff6f4b9bd63 (diff)
downloadgnutls-274986f67ae732194a35d81ebfa5aada8b13436f.tar.gz
Split up release targets.
Diffstat (limited to 'cfg.mk')
-rw-r--r--cfg.mk31
1 files changed, 31 insertions, 0 deletions
diff --git a/cfg.mk b/cfg.mk
index acdfe7ab1f..4189e84a32 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -50,3 +50,34 @@ mingw32: autoreconf
./configure $(CFGFLAGS) --host=i586-mingw32msvc --build=`./config.guess` --with-included-libtasn1 --with-included-opencdk --with-libgcrypt-prefix=$(LIBGCRYPTROOT)
.PHONY: bootstrap autoreconf mingw32
+
+ChangeLog:
+ git log --pretty --numstat --summary --since="2005 November 07" -- | git2cl > ChangeLog
+ cat .clcopying >> ChangeLog
+
+tag = $(PACKAGE)_`echo $(VERSION) | sed 's/\./_/g'`
+htmldir = ../www-$(PACKAGE)
+
+release: upload webdocs
+
+upload:
+ ! git-tag -l $(tag) | grep $(PACKAGE) > /dev/null
+ rm -f ChangeLog
+ $(MAKE) ChangeLog distcheck
+ git commit -m Generated. ChangeLog
+ git-tag -u b565716f! -m $(VERSION) $(tag)
+ git-push
+ git-push --tags
+ build-aux/gnupload --to alpha.gnu.org:$(PACKAGE) $(distdir).tar.bz2
+ scp $(distdir).tar.bz2 $(distdir).tar.bz2.sig igloo.linux.gr:~ftp/pub/gnutls/devel/
+ ssh igloo.linux.gr 'cd ~ftp/pub/gnutls/devel/ && sha1sum *.tar.bz2 > CHECKSUMS'
+ cp $(distdir).tar.bz2 $(distdir).tar.bz2.sig ../releases/$(PACKAGE)/
+ make webdocs
+
+webdocs:
+ cd doc && ../build-aux/gendocs.sh -o ../$(htmldir)/manual/ $(PACKAGE) $(PACKAGE_NAME)
+ cd contrib/doxygen && doxygen && cd ../.. && cp -v contrib/doxygen/html/* $(htmldir)/doxygen/ && cd contrib/doxygen/latex && make refman.pdf && cd ../../../ && cp contrib/doxygen/latex/refman.pdf $(htmldir)/doxygen/$(PACKAGE).pdf
+ cp -v doc/reference/html/*.html doc/reference/html/*.png doc/reference/html/*.devhelp doc/reference/html/*.css $(htmldir)/reference/
+ cp -rv doc/java/* $(htmldir)/javadoc/
+ cd $(htmldir) && \
+ cvs commit -m "Update." manual/ reference/ doxygen/