Merge branch 'master' of ssh://civodul@git.savannah.gnu.org/srv/git/gnutls
[gnutls.git] / Makefile.am
blobf4d08a49b7dfa93866ca4f0604ab288515706594
1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005,
3 #               2006, 2007, 2008 Free Software Foundation
5 # Author: Nikos Mavrogiannopoulos
7 # This file is part of GNUTLS.
9 # This file is free software; you can redistribute it and/or modify it
10 # under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 3 of the License, or
12 # (at your option) any later version.
14 # This file is distributed in the hope that it will be useful, but
15 # WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17 # General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with this file; if not, write to the Free Software Foundation,
21 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
25 SUBDIRS = lgl gl includes lib libextra src doc tests po
27 if HAVE_GUILE
28 SUBDIRS += guile
29 endif
31 ACLOCAL_AMFLAGS = -I m4 -I gl/m4 -I lgl/m4
33 # Maintainer targets
35 ChangeLog:
36         git log --pretty --numstat --summary --since="2005 November 07" -- | git2cl > ChangeLog
37         cat .cvscopying >> ChangeLog
39 tag = $(PACKAGE)_`echo $(VERSION) | sed 's/\./_/g'`
40 htmldir = ../www-$(PACKAGE)
42 release:
43         ! git-tag -l $(tag) | grep $(PACKAGE) > /dev/null
44         rm -f ChangeLog
45         $(MAKE) ChangeLog distcheck
46         cd doc && ../build-aux/gendocs.sh -o ../$(htmldir)/manual/ $(PACKAGE) "GNU TLS"
47         git commit -m Generated. ChangeLog
48         git-tag -u b565716f! -m $(VERSION) $(tag)
49         gpg -b $(distdir).tar.bz2
50         gpg --verify $(distdir).tar.bz2.sig
51         cp -v $(distdir).tar.bz2 $(distdir).tar.bz2.sig $(htmldir)/releases/
52         cp -v doc/reference/html/*.html doc/reference/html/*.png doc/reference/html/*.css doc/reference/html/*.devhelp $(htmldir)/reference/
53         git-push --tags
54         git-push
55         scp $(distdir).tar.bz2 $(distdir).tar.bz2.sig igloo.linux.gr:~ftp/pub/gnutls/devel/
56         ssh igloo.linux.gr 'cd ~ftp/pub/gnutls/devel/ && sha1sum *.tar.bz2 > CHECKSUMS'
57         build-aux/gnupload --to alpha.gnu.org:gnutls $(distdir).tar.bz2
58         cd $(htmldir) && \
59                 cvs add -kb releases/$(distdir).tar.bz2 \
60                         releases/$(distdir).tar.bz2.sig && \
61                 cvs commit -m "Update." manual/ reference/ releases/