Add.
[libidn.git] / doc / Makefile.am
blobb3ebee6bd5f20cd66ca579affc934b50805aa601
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 = specifications tld java
21 if ENABLE_GTK_DOC
22 SUBDIRS += reference
23 endif
25 EXTRA_DIST = gdoc libidn.html libidn.ps libidn.pdf lgpl.texi texinfo.css \
26         components.fig
28 info_TEXINFOS = libidn.texi
29 libidn_TEXINFOS = fdl.texi $(gdoc_TEXINFOS) \
30         components.eps components.png components.pdf
32 components.eps: components.fig
33         fig2dev -L eps components.fig components.eps
35 components.png: components.fig
36         fig2dev -L png components.fig components.png
38 components.pdf: components.fig
39         fig2dev -L pdf components.fig components.pdf
41 AM_MAKEINFOHTMLFLAGS = --no-split --number-sections --css-include=texinfo.css
43 # Man pages.
45 dist_man_MANS = idn.1 $(gdoc_MANS)
46 MAINTAINERCLEANFILES = $(dist_man_MANS)
48 idn.1: $(top_srcdir)/src/idn.c $(top_srcdir)/src/idn.ggo \
49                 $(top_srcdir)/configure.ac
50         $(HELP2MAN) \
51                 --name="Internationalized Domain Names command line tool" \
52                 --output=$@ $(top_builddir)/src/idn
54 # GDOC
56 GDOC_SRC = $(top_srcdir)/lib/idna.c $(top_srcdir)/lib/nfkc.c    \
57         $(top_srcdir)/lib/pr29.c $(top_srcdir)/lib/punycode.c   \
58         $(top_srcdir)/lib/stringprep.c $(top_srcdir)/lib/tld.c  \
59         $(top_srcdir)/lib/toutf8.c $(top_srcdir)/lib/version.c \
60         $(top_srcdir)/lib/strerror-idna.c $(top_srcdir)/lib/strerror-pr29.c \
61         $(top_srcdir)/lib/strerror-punycode.c \
62         $(top_srcdir)/lib/strerror-stringprep.c \
63         $(top_srcdir)/lib/strerror-tld.c
64 GDOC_TEXI_PREFIX = texi/
65 GDOC_MAN_PREFIX = man/
66 GDOC_MAN_EXTRA_ARGS = -module $(PACKAGE) -sourceversion $(VERSION) \
67         -bugsto $(PACKAGE_BUGREPORT) -includefuncprefix -seeinfo $(PACKAGE) \
68         -copyright "2002, 2003, 2004 Simon Josefsson" -verbatimcopying
69 include $(srcdir)/Makefile.gdoci