1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2002, 2003 Simon Josefsson.
4 # This file is part of Shishi.
6 # Shishi 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 # Shishi 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 Shishi; see the file COPYING. If not, write to
18 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 # Boston, MA 02111-1307, USA.
21 DISTCHECK_CONFIGURE_FLAGS = --disable-gtk-doc
23 MOST_SUBDIRS = m4 po gl lib src tests doc extra
25 DIST_SUBDIRS = crypto asn1 $(MOST_SUBDIRS)
27 SUBDIRS = @CRYPTO@ @ASN1@ $(MOST_SUBDIRS)
29 ACLOCAL_AMFLAGS = -I m4 -I gl/m4
31 pkgconfigdir = $(libdir)/pkgconfig
32 pkgconfig_DATA = shishi.pc
34 sysconf_DATA = shishi.conf
35 pkgdata_DATA = shishi.skel
37 EXTRA_DIST = ANNOUNCE config.rpath mkinstalldirs \
38 shishi.conf.in shishi.skel.in shishi.pc.in
43 (cd lib && make indent)
44 (cd src && make indent)
45 (cd tests && make indent)
48 test ! -f .cvsusers || \
49 (cvs2cl --FSF --usermap .cvsusers \
50 -I "ChangeLog|.cvs|autogen.sh|doc/specification|libstringprep" && \
51 cat .cvscopying >> ChangeLog)
53 tag = $(PACKAGE)-`echo $(VERSION) | sed 's/\./-/g'`
54 htmldir = ../www-$(PACKAGE)
57 cvs upd -p -r HEAD NEWS > /dev/null
58 if cvs upd -p -r $(tag) NEWS > /dev/null; then false else true; fi
59 rm -f ChangeLog && cvs upd ChangeLog
62 $(MAKE) ChangeLog distcheck
63 cvs commit -m "" ChangeLog
64 rm -f $(distdir).tar.gz.asc
65 gpg -a --sign --detach $(distdir).tar.gz
66 gpg --verify $(distdir).tar.gz.asc
67 test -d $(htmldir) && cp -v doc/$(PACKAGE).{ps,pdf,html} $(htmldir)/
68 test -d $(htmldir) && cd $(htmldir) && cvs commit -m "Update." \
69 $(PACKAGE).{ps,pdf,html}
70 cvs rtag $(tag) $(PACKAGE)