*** empty log message ***
[gnutls.git] / Makefile.am
blob1b5e2df06d59e391c8be7613d8ffb7ec399bfa7b
1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation
4 # Author: Nikos Mavroyanopoulos
6 # This file is part of GNUTLS.
8 # This file is free software; you can redistribute it and/or modify it
9 # under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
13 # This file is distributed in the hope that it will be useful, but
14 # WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 # General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this file; if not, write to the Free Software Foundation,
20 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
24 SUBDIRS = gl includes lib libextra src doc tests po
26 EXTRA_DIST = mkinstalldirs
28 ACLOCAL_AMFLAGS = -I m4 -I gl/m4
30 # Maintainer targets
32 update-po: refresh-po
33         cvs add `ls po/*.po | grep -v quot.po` || true && \
34         cvs commit -m "Sync with TP." po/LINGUAS `ls po/*.po | grep -v quot.po`
36 ChangeLog:
37         cvs2cl --utc --fsf --FSF --usermap .cvsusers -I ChangeLog -I .cvs --window 120 -l "-d"">2005-11-07;today<"""
38         cat .cvscopying >> ChangeLog
40 tag = $(PACKAGE)_`echo $(VERSION) | sed 's/\./_/g'`
41 htmldir = ../www-$(PACKAGE)
43 release:
44         if cvs upd -p -r $(tag) NEWS > /dev/null; then false else true; fi
45         cvs rtag $(tag) gnutls
46         rm -f ChangeLog
47         make ChangeLog
48         cvs commit -m "" ChangeLog
49         cvs rtag -F $(tag) gnutls
50         make dist
51         gpg -b $(distdir).tar.bz2
52         gpg --verify $(distdir).tar.bz2.sig
53         scp $(distdir).tar.bz2{,.sig} igloo.linux.gr:~ftp/pub/gnutls/devel/
54         ssh igloo.linux.gr 'cd ~ftp/pub/gnutls/devel/ && sha1sum *.tar.gz *.tar.bz2 > CHECKSUMS'
55         cd doc && ./gendocs.sh -o ../$(htmldir)/manual/ $(PACKAGE) "GNU TLS"
56         cp -v $(distdir).tar.bz2{,.sig} $(htmldir)/releases/
57         cp -v doc/reference/html/*.{html,png,css,devhelp} $(htmldir)/reference/
58         cd $(htmldir) && cvs add -kb releases/$(distdir).tar.bz2{,.sig} && \
59                 cvs commit -m "Update." manual/ reference/ releases/