+# Makefile.am -- Makefile for the m17n library documentation.
+# Copyright (C) 2003
+# National Institute of Advanced Industrial Science and Technology (AIST)
+# Registration Number H15PRO112
+
+# This file is part of the m17n library documentation, a sub-part of
+# the m17n library.
+
+# The m17n library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2, or (at
+# your option) any later version.
+
+# The m17n library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with the m17n library; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+## Process this file with Automake to create Makefile.in
+
+pkgdata_DATA = \
+ usr/html/index.html \
+ usr/latex/m17n-lib.dvi usr/latex/m17n-lib.ps \
+ man/man1/m17n-config.1 \
+ man/man3/m17nIntro.3m17n \
+ man/man5/mdbGeneral.5
+
+pkgdatadir = $(datadir)/m17n/docs
+
+EXTRA_DIST = usr/html usr/latex/m17n-lib.dvi usr/latex/m17n-lib.ps \
+ man/man1 man/man3 man/man5
+
+install-pkgdataDATA: $(pkgdata_DATA)
+ $(mkinstalldirs) $(pkgdatadir)/html
+ $(mkinstalldirs) $(mandir)/man1 $(mandir)/man3 $(mandir)/man5
+ $(INSTALL_DATA) usr/latex/m17n-lib.dvi $(pkgdatadir)/m17n-lib.dvi
+ $(INSTALL_DATA) usr/latex/m17n-lib.ps $(pkgdatadir)/m17n-lib.ps
+ cd usr/html; \
+ for f in *.html *.png; do \
+ $(INSTALL_DATA) $$f $(pkgdatadir)/html/$$f; \
+ done
+ cd man/man1; \
+ for f in *.1; do $(INSTALL_DATA) $$f $(mandir)/man1/$$f; done
+ cd man/man3; \
+ for f in *.3m17n; do $(INSTALL_DATA) $$f $(mandir)/man3/$$f; done
+ cd man/man5; \
+ for f in *.5; do $(INSTALL_DATA) $$f $(mandir)/man5/$$f; done
+
+#
+# The followings are for maintainers only.
+#
+if MAINTAINER_MODE