Bump versions.
[gsasl.git] / Makefile.am
blob94c9872f11faf983faf648204ca6e1ac063e3a8d
1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Simon Josefsson.
4 # This file is part of GNU SASL.
6 # This program is free software: you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation, either version 3 of the License, or
9 # (at your option) any later version.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
19 SUBDIRS = po gl lib src examples tests doc
21 ACLOCAL_AMFLAGS = -I m4 -I gl/m4
22 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --disable-obsolete
24 # Maintainer targets
26 update-po: refresh-po
27         cg-add `ls po/*.po | grep -v quot.po`
28         cg-commit -m "Sync with TP." po/LINGUAS `ls po/*.po | grep -v quot.po`
29         $(MAKE) -C lib update-po
31 ChangeLog:
32         git log --pretty --numstat --summary | git2cl > ChangeLog
33         cat .cvscopying >> ChangeLog
35 htmldir = ../www-$(PACKAGE)
36 tag = $(PACKAGE)-`echo $(VERSION) | sed 's/\./-/g'`
38 release:
39         cd lib && make release
40         ! git-tag -l $(tag) > /dev/null
41         rm -f ChangeLog
42         $(MAKE) ChangeLog distcheck
43         git commit -m Generated. ChangeLog
44         git-tag -u b565716f! -m $(VERSION) $(tag)
45         gnupload --to alpha.gnu.org:gsasl $(distdir).tar.gz
46         cd doc && env MAKEINFO="makeinfo -I ../examples" \
47                       TEXI2DVI="texi2dvi -I ../examples" \
48                 ../build-aux/gendocs.sh --html "--css-include=texinfo.css" \
49                 -o ../$(htmldir)/manual/ $(PACKAGE) "GNU SASL"
50         cp -v $(distdir).tar.gz{,.sig} $(htmldir)/releases/
51         cp -v doc/reference/html/*.{html,png,devhelp,css} $(htmldir)/reference/
52         cd doc/doxygen && doxygen && cd ../.. && cp -v doc/doxygen/html/* $(htmldir)/doxygen/ && cd doc/doxygen/latex && make refman.pdf && cd ../../../ && cp doc/doxygen/latex/refman.pdf $(htmldir)/doxygen/$(PACKAGE).pdf
53         cd $(htmldir) && cvs add -kb releases/$(distdir).tar.gz{,.sig} && \
54                 cvs commit -m "Update." manual/ reference/ doxygen/ releases/