From: tomo Date: Wed, 8 Oct 2003 13:23:59 +0000 (+0000) Subject: - Use HAVE_CHISE instead of HAVE_CHISE_CLIENT. X-Git-Tag: r21-4-12-chise-0_21-pre7-for-libchise-b1-r0_2_0-pre8~8 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=d3abfdf6ba8c92e6bfd900ceb36eca1f132c50d5;p=chise%2Fxemacs-chise.git.1 - Use HAVE_CHISE instead of HAVE_CHISE_CLIENT. - Setup chise-db-directory [make symbolic link for ${archlibdir}/char-db]. --- diff --git a/Makefile.in.in b/Makefile.in.in index 47d386a..9b8b120 100644 --- a/Makefile.in.in +++ b/Makefile.in.in @@ -240,7 +240,7 @@ INSTALL_ARCH_DEP_SUBDIR = @INSTALL_ARCH_DEP_SUBDIR@ ## When installing the info files, we need to do special things to ## avoid nuking an existing dir file, so we don't do that here; ## instead, we have written out explicit code in the `install' targets. -#ifdef HAVE_CHISE_CLIENT +#ifdef HAVE_CHISE COPYDIR = ${srcdir}/etc ${srcdir}/lisp ${srcdir}/lib-src/char-db COPYDESTS = ${etcdir} ${lispdir} ${archlibdir}/char-db #else @@ -517,6 +517,15 @@ install-arch-indep: mkdir info ${INSTALL_DATA} ${srcdir}/etc/$${page}.1 ${mandir}/$${page}${manext} ; \ chmod 0644 ${mandir}/$${page}${manext} ; \ done +#ifdef HAVE_LIBCHISE + ${LN_S} ${archlibdir}/char-db `${blddir}/src/${PROGNAME} -batch -vanilla -eval "\ +(let ((path (expand-file-name \"db\" chise-db-directory)))\ + (if (file-exists-p chise-db-directory)\ + (if (file-exists-p path)\ + (delete-file path))\ + (make-directory chise-db-directory t))\ + (princ path))"` +#endif @echo "If you would like to save approximately 2M of disk space, do" @echo "make gzip-el" @echo "or you may run "