Typo.
[libidn.git] / Makefile.am
blob9f1f7e96701c9ac124d83851b569b02f81b4cda4
1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2002, 2003, 2004 Simon Josefsson.
4 # This file is part of GNU Libidn.
6 # GNU Libidn is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU Lesser General Public License as
8 # published by the Free Software Foundation; either version 2.1 of
9 # the License, or (at your option) any later version.
11 # GNU Libidn 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 Lesser General Public License for more details.
16 # You should have received a copy of the GNU Lesser General Public
17 # License along with GNU Libidn; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
20 SUBDIRS = lib src doc tests examples
22 ACLOCAL_AMFLAGS = -I m4
24 EXTRA_DIST = FAQ libidn.pc.in \
25         libc/README libc/Makefile libc/Versions libc/Banner libc/configure \
26         libc/example.c libc/getaddrinfo.c libc/libc.patch libc/netdb.h \
27         libc/getaddrinfo-idn.txt \
28         contrib/README contrib/idn-python/README contrib/idn-python/Makefile \
29         contrib/idn-python/idn.c contrib/idn-python/test.py \
30         contrib/web/idn.php \
31         contrib/java/README contrib/java/autogen.sh \
32         contrib/java/configure.ac contrib/java/Makefile.am \
33         contrib/java/ExampleIDNA.java contrib/java/IDNA.java \
34         contrib/java/IDNA.c \
35         contrib/doxygen/Doxyfile.in contrib/doxygen/Doxyfile.orig \
36         contrib/doxygen/gdoc2doxygen
38 pkgconfigdir = $(libdir)/pkgconfig
39 pkgconfig_DATA = libidn.pc
41 # Maintainer targets
43 ChangeLog:
44         cvs2cl --FSF --fsf --usermap .cvsusers -I ChangeLog -I .cvs \
45                 -I autogen.sh -I contrib -I doc/specifications/ -I draft- && \
46         cat .cvscopying >> ChangeLog
48 indent:
49         (cd lib && make indent)
50         (cd src && make indent)
51         (cd tests && make indent)
53 tag = $(PACKAGE)-`echo $(VERSION) | sed 's/\./-/g'`
54 htmldir = ../www-$(PACKAGE)
56 release:
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
60         cvs commit
61         rm -f ChangeLog
62         $(MAKE) ChangeLog distcheck
63         cvs commit -m "" ChangeLog
64         cvs rtag $(tag) $(PACKAGE)
65         gpg -b $(distdir).tar.gz
66         gpg --verify $(distdir).tar.gz.sig
67         echo "directory: $(PACKAGE)" > $(distdir).tar.gz.directive
68         gpg --clearsign $(distdir).tar.gz.directive
69         ncftpput ftp-upload.gnu.org /incoming/alpha \
70                 $(distdir).tar.gz{,.sig,.directive.asc}
71         cd doc && ./gendocs.sh --html "--css-include=texinfo.css" \
72                 -o ../$(htmldir)/manual/ $(PACKAGE) "GNU Libidn"
73         cp -v $(distdir).tar.gz{,.sig} $(htmldir)/releases/
74         cp -v doc/reference/*.{html,png} $(htmldir)/reference/
75         cd contrib/doxygen && doxygen && cd ../.. && cp -v contrib/doxygen/html/* $(htmldir)/doxygen/ && cd contrib/doxygen/latex && make refman.pdf && cd ../../../ && cp contrib/doxygen/latex/refman.pdf $(htmldir)/doxygen/$(PACKAGE).pdf
76         cd $(htmldir) && cvs add -kb releases/$(distdir).tar.gz{,.sig} && \
77                 cvs commit -m "Update." manual/ reference/ doxygen/ releases/