X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=Makefile.in.in;h=fbd73f978a54df716a3c11f9b9844816b26fccad;hp=47d386a9662fdf97c76e78dbb5ebcd5b1821c377;hb=46a4ae183177b1a6a6b98d4b5f66904cd5c47f7e;hpb=a5812bf2ff9a9cf40f4ff78dcb83f5b4c295bd18 diff --git a/Makefile.in.in b/Makefile.in.in index 47d386a..fbd73f9 100644 --- a/Makefile.in.in +++ b/Makefile.in.in @@ -240,9 +240,9 @@ 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 -COPYDIR = ${srcdir}/etc ${srcdir}/lisp ${srcdir}/lib-src/char-db -COPYDESTS = ${etcdir} ${lispdir} ${archlibdir}/char-db +#ifdef HAVE_CHISE +COPYDIR = ${srcdir}/etc ${srcdir}/lisp +COPYDESTS = ${etcdir} ${lispdir} #else COPYDIR = ${srcdir}/etc ${srcdir}/lisp COPYDESTS = ${etcdir} ${lispdir} @@ -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} ${etcdir}/chise-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 "