1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Simon Josefsson.
4 # This file is part of GNU Libidn.
6 # This program 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 3 of the License, or
9 # (at your option) any later version.
11 # This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
19 SUBDIRS = specifications tld java
21 SUBDIRS += . reference
24 EXTRA_DIST = gdoc libidn.html libidn.ps libidn.pdf texinfo.css \
27 info_TEXINFOS = libidn.texi
28 libidn_TEXINFOS = fdl.texi gpl-3.0.texi lgpl-2.1.texi $(gdoc_TEXINFOS) \
29 libidn-components.eps libidn-components.png libidn-components.pdf
31 imagesdir = $(infodir)
32 images_DATA = libidn-components.png
34 libidn-components.eps: components.fig
37 libidn-components.png: components.fig
40 libidn-components.pdf: components.fig
43 AM_MAKEINFOFLAGS = -I $(top_builddir)/doc -I $(top_srcdir)/examples
44 TEXI2DVI = texi2dvi $(AM_MAKEINFOFLAGS)
45 AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS) \
46 --no-split --number-sections --css-include=texinfo.css
50 dist_man_MANS = idn.1 $(gdoc_MANS)
51 MAINTAINERCLEANFILES = $(dist_man_MANS)
53 idn.1: $(top_srcdir)/src/idn.c $(top_srcdir)/src/idn.ggo \
54 $(top_srcdir)/configure.ac
56 --name="Internationalized Domain Names command line tool" \
57 --output=$@ $(top_builddir)/src/idn$(EXEEXT)
61 GDOC_SRC = $(top_srcdir)/lib/idna.c $(top_srcdir)/lib/nfkc.c \
62 $(top_srcdir)/lib/pr29.c $(top_srcdir)/lib/punycode.c \
63 $(top_srcdir)/lib/stringprep.c $(top_srcdir)/lib/tld.c \
64 $(top_srcdir)/lib/toutf8.c $(top_srcdir)/lib/version.c \
65 $(top_srcdir)/lib/strerror-idna.c $(top_srcdir)/lib/strerror-pr29.c \
66 $(top_srcdir)/lib/strerror-punycode.c \
67 $(top_srcdir)/lib/strerror-stringprep.c \
68 $(top_srcdir)/lib/strerror-tld.c
69 GDOC_TEXI_PREFIX = texi/
70 GDOC_MAN_PREFIX = man/
71 GDOC_MAN_EXTRA_ARGS = -module $(PACKAGE) -sourceversion $(VERSION) \
72 -bugsto $(PACKAGE_BUGREPORT) -includefuncprefix -seeinfo $(PACKAGE) \
73 -copyright "2002, 2003, 2004, 2005, 2006, 2007 Simon Josefsson" \
75 include $(srcdir)/Makefile.gdoci