1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2002, 2003, 2004, 2005 Simon Josefsson.
4 # This file is part of GNU SASL.
6 # GNU SASL 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 2, or (at your option)
11 # GNU SASL 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 GNU SASL; if not, write to the Free Software Foundation,
18 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 SUBDIRS = po gl lib src examples tests doc
22 ACLOCAL_AMFLAGS = -I m4 -I gl/m4
23 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --disable-obsolete
27 POURL = ftp://ftp.unex.es/pub/gnu-i18n/po/maint/$(PACKAGE)
30 wget --no-verbose --timestamping --retr-symlinks $(POURL)/*.po && \
31 cvs add `ls *.po | grep -v quot.po` || true && \
32 ls *.po | sed 's/.po//' > LINGUAS && \
33 cvs commit -m "Sync with TP." LINGUAS `ls *.po | grep -v quot.po`
36 cvs2cl --fsf --FSF --usermap .cvsusers -I ChangeLog -I .cvs \
37 -I autogen.sh -I doc/specification -I lib/
38 cat .cvscopying >> ChangeLog
40 htmldir = ../www-$(PACKAGE)
41 tag = $(PACKAGE)-`echo $(VERSION) | sed 's/\./-/g'`
44 cd lib && make release
45 cvs upd -p -r HEAD NEWS > /dev/null
46 if cvs upd -p -r $(tag) NEWS > /dev/null; then false else true; fi
47 rm -f ChangeLog && cvs upd ChangeLog
50 $(MAKE) ChangeLog distcheck
51 cvs commit -m "" ChangeLog
52 cvs rtag $(tag) $(PACKAGE)
53 gnupload --to alpha.gnu.org:gsasl $(distdir).tar.gz
54 cd doc && ./gendocs.sh --html "--css-include=texinfo.css" \
55 -o ../$(htmldir)/manual/ $(PACKAGE) "GNU SASL"
56 cp -v $(distdir).tar.gz{,.sig} $(htmldir)/releases/
57 cp -v doc/reference/html/*.{html,png,devhelp,css} $(htmldir)/reference/
58 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
59 cd $(htmldir) && cvs add -kb releases/$(distdir).tar.gz{,.sig} && \
60 cvs commit -m "Update." manual/ reference/ doxygen/ releases/