usr/man3m/m17nIntro.3m \
usr/latex/m17n-lib.dvi usr/latex/m17n-lib.ps
+pkgdatadir = $(datadir)/m17n-lib
+
+EXTRA_DIST = usr/html usr/man3m usr/latex/m17n-lib.dvi usr/latex/m17n-lib.ps
+
+install-pkgdataDATA: $(pkgdata_DATA)
+ $(mkinstalldirs) $(pkgdatadir)/html $(mandir)/man3m
+ $(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; do $(INSTALL_DATA) $$f $(pkgdatadir)/html/$$f; done
+ cd usr/man3m; \
+ for f in *.3m; do $(INSTALL_DATA) $$f $(mandir)/man3m/$$f; done
if MAINTAINER_MODE
ruby utils/mkman.rb ja
rm -rf doxytemp sample
-EXTRA_DIST = usr/html usr/man3m usr/latex/m17n-lib.dvi usr/latex/m17n-lib.ps
-
endif
AC_OUTPUT
# Print configuration message.
-echo "-------------------------------------------------------------"
-echo "Configure to make documentations from the source files under:"
-echo " $M17NLIB/src/"
-echo "-------------------------------------------------------------"
+if test $USE_MAINTAINER_MODE = yes; then
+ AC_MSG_NOTICE([Find documentation source in "$M17NLIB"])
+fi
+
+eval dir=${datadir}
+AC_MSG_NOTICE([-------------------------------------------])
+AC_MSG_NOTICE([Install documentations in these directories])
+AC_MSG_NOTICE([-------------------------------------------])
+AC_MSG_NOTICE([ m17n-lib.dvi: ${dir}/m17n-lib])
+AC_MSG_NOTICE([ m17n-lib.ps: ${dir}/m17n-lib])
+AC_MSG_NOTICE([ html files: ${dir}/m17n-lib/html])
+eval dir=${mandir}
+AC_MSG_NOTICE([ man files: ${dir}])