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
31 ACLOCAL_AMFLAGS = -I m4 -I gl/m4 -I lgl/m4
33 EXTRA_DIST = cfg.mk maint.mk .clcopying
38 git log --pretty --numstat --summary --since="2005 November 07" -- | git2cl > ChangeLog
39 cat .clcopying >> ChangeLog
41 tag = $(PACKAGE)_`echo $(VERSION) | sed 's/\./_/g'`
42 htmldir = ../www-$(PACKAGE)
45 ! git-tag -l $(tag) | grep $(PACKAGE) > /dev/null
47 $(MAKE) ChangeLog distcheck
48 cd doc && ../build-aux/gendocs.sh -o ../$(htmldir)/manual/ $(PACKAGE) "GNU TLS"
49 git commit -m Generated. ChangeLog
50 git-tag -u b565716f! -m $(VERSION) $(tag)
51 gpg -b $(distdir).tar.bz2
52 gpg --verify $(distdir).tar.bz2.sig
53 cp -v $(distdir).tar.bz2 $(distdir).tar.bz2.sig $(htmldir)/releases/
54 cp -v doc/reference/html/*.html doc/reference/html/*.png doc/reference/html/*.css doc/reference/html/*.devhelp $(htmldir)/reference/
57 : scp $(distdir).tar.bz2 $(distdir).tar.bz2.sig igloo.linux.gr:~ftp/pub/gnutls/devel/
58 : ssh igloo.linux.gr 'cd ~ftp/pub/gnutls/devel/ && sha1sum *.tar.bz2 > CHECKSUMS'
59 build-aux/gnupload --to alpha.gnu.org:gnutls $(distdir).tar.bz2
61 cvs add -kb releases/$(distdir).tar.bz2 \
62 releases/$(distdir).tar.bz2.sig && \
63 cvs commit -m "Update." manual/ reference/ releases/