SUBDIRS = specifications tld java
if ENABLE_GTK_DOC
SUBDIRS += . reference
endif
EXTRA_DIST = gdoc libidn.html libidn.ps libidn.pdf lgpl.texi texinfo.css \
components.fig
info_TEXINFOS = libidn.texi
libidn_TEXINFOS = fdl.texi $(gdoc_TEXINFOS) \
components.eps components.png components.pdf
components.eps: components.fig
fig2dev -L eps components.fig components.eps
components.png: components.fig
fig2dev -L png components.fig components.png
components.pdf: components.fig
fig2dev -L pdf components.fig components.pdf
AM_MAKEINFOHTMLFLAGS = --no-split --number-sections --css-include=texinfo.css
dist_man_MANS = idn.1 $(gdoc_MANS)
MAINTAINERCLEANFILES = $(dist_man_MANS)
idn.1: $(top_srcdir)/src/idn.c $(top_srcdir)/src/idn.ggo \
$(top_srcdir)/configure.ac
$(HELP2MAN) \
--name="Internationalized Domain Names command line tool" \
--output=$@ $(top_builddir)/src/idn
GDOC_SRC = $(top_srcdir)/lib/idna.c $(top_srcdir)/lib/nfkc.c \
$(top_srcdir)/lib/pr29.c $(top_srcdir)/lib/punycode.c \
$(top_srcdir)/lib/stringprep.c $(top_srcdir)/lib/tld.c \
$(top_srcdir)/lib/toutf8.c $(top_srcdir)/lib/version.c \
$(top_srcdir)/lib/strerror-idna.c $(top_srcdir)/lib/strerror-pr29.c \
$(top_srcdir)/lib/strerror-punycode.c \
$(top_srcdir)/lib/strerror-stringprep.c \
$(top_srcdir)/lib/strerror-tld.c
GDOC_TEXI_PREFIX = texi/
GDOC_MAN_PREFIX = man/
GDOC_MAN_EXTRA_ARGS = -module $(PACKAGE) -sourceversion $(VERSION) \
-bugsto $(PACKAGE_BUGREPORT) -includefuncprefix -seeinfo $(PACKAGE) \
-copyright "2002, 2003, 2004, 2005 Simon Josefsson" -verbatimcopying
include $(srcdir)/Makefile.gdoci