From d5b639418e6f1532218a9ec58738290bd8f87322 Mon Sep 17 00:00:00 2001 From: handa Date: Tue, 15 Jul 2003 02:04:32 +0000 Subject: [PATCH] *** empty log message *** --- Makefile.am | 14 ++++++++++++-- configure.ac | 17 +++++++++++++---- 2 files changed, 25 insertions(+), 6 deletions(-) diff --git a/Makefile.am b/Makefile.am index 884fdfa..9028515 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,6 +6,18 @@ pkgdata_DATA = \ 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 @@ -153,6 +165,4 @@ ja/man3m/%.3m: ja/man/man3/%.3m sample-ja.c utils/mkman.rb 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 diff --git a/configure.ac b/configure.ac index f47c91e..9c48b8b 100644 --- a/configure.ac +++ b/configure.ac @@ -59,7 +59,16 @@ AC_CONFIG_FILES(Makefile) 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}]) -- 1.7.10.4