Generated.
[gnutls.git] / Makefile.am
blobb49ad01b3e8940b26fc2126450968a4e30f1da03
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 update-po: refresh-po
36         -cg-add `ls po/*.po | grep -v quot.po`
37         cg-commit -m "Sync with TP." po/LINGUAS `ls po/*.po | grep -v quot.po`
39 ChangeLog:
40         git log --pretty --numstat --summary --since="2005 November 07" -- | git2cl > ChangeLog
41         cat .cvscopying >> ChangeLog
43 tag = $(PACKAGE)_`echo $(VERSION) | sed 's/\./_/g'`
44 htmldir = ../www-$(PACKAGE)
46 release:
47         ! git-tag -l $(tag) | grep $(PACKAGE) > /dev/null
48         rm -f ChangeLog
49         $(MAKE) ChangeLog distcheck
50         git commit -m Generated. ChangeLog
51         git-tag -u b565716f! -m $(VERSION) $(tag)
52         gpg -b $(distdir).tar.bz2
53         gpg --verify $(distdir).tar.bz2.sig
54         cp -v $(distdir).tar.bz2 $(distdir).tar.bz2.sig $(htmldir)/releases/
55         git-push --tags
56         git-push
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/