*** empty log message ***
[shishi.git] / Makefile.am
blob580f142b4acf8cbaff3870319c61e2a1c45596a0
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)
9 # any later version.
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 = --without-included-gettext --disable-gtk-doc
23 MOST_SUBDIRS = intl m4 po lib src tests doc extra
25 DIST_SUBDIRS = crypto asn1 argp libstringprep $(MOST_SUBDIRS)
27 SUBDIRS = @CRYPTO@ @ASN1@ @ARGP@ @LIBIDN@ $(MOST_SUBDIRS)
29 ACLOCAL_AMFLAGS = -I m4 -I crypto/src
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
40 .PHONY: ChangeLog
41 ChangeLog:
42         test ! -f .cvsusers || \
43         cvs2cl --FSF --usermap .cvsusers \
44  -I "ChangeLog|.cvsignore|.cvsusers|autogen.sh|doc/specification|libstringprep"
46 indent:
47         (cd lib && make indent)
48         (cd src && make indent)
49         (cd tests && make indent)
51 tag = $(PACKAGE)-`echo $(VERSION) | sed 's/\./-/g'`
52 htmldir = ../www-$(PACKAGE)
54 release:
55         cvs upd -p -r HEAD NEWS > /dev/null
56         if cvs upd -p -r $(tag) NEWS > /dev/null; then false else true; fi
57         rm -f ChangeLog && cvs upd ChangeLog
58         cvs commit
59         $(MAKE) distcheck
60         cvs commit -m "" ChangeLog
61         rm -f $(distdir).tar.gz.asc
62         gpg -a --sign --detach $(distdir).tar.gz
63         gpg --verify $(distdir).tar.gz.asc
64         scp $(distdir).tar.gz* josefsson.org:$(PACKAGE)/
65         test -d $(htmldir) && cp -v doc/$(PACKAGE).{ps,pdf,html} $(htmldir)/
66         test -d $(htmldir) && cd $(htmldir) && cvs commit -m "Update." \
67                 $(PACKAGE).{ps,pdf,html}
68         cvs rtag $(tag) $(PACKAGE)