## 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
${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 "