SUBDIRS = specifications tld java
if ENABLE_GTK_DOC
SUBDIRS += . reference
endif
EXTRA_DIST = gdoc libidn.html libidn.ps libidn.pdf gpl.texi lgpl.texi \
texinfo.css components.fig
info_TEXINFOS = libidn.texi
libidn_TEXINFOS = fdl.texi $(gdoc_TEXINFOS) \
libidn-components.eps libidn-components.png libidn-components.pdf
imagesdir = $(infodir)
images_DATA = libidn-components.png
libidn-components.eps: components.fig
fig2dev -L eps $< $@
libidn-components.png: components.fig
fig2dev -L png $< $@
libidn-components.pdf: components.fig
fig2dev -L pdf $< $@
AM_MAKEINFOFLAGS = -I $(top_builddir)/doc -I $(top_srcdir)/examples
TEXI2DVI = texi2dvi $(AM_MAKEINFOFLAGS)
AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS) \
--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$(EXEEXT)
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, 2006, 2007 Simon Josefsson" \
-verbatimcopying
include $(srcdir)/Makefile.gdoci