;;; -*-Emacs-Lisp-*-
;;;
;;; $Id: YK-CFG,v 0.1 1996/09/18 09:17:16 morioka Exp morioka $
;;;

(setq load-path (append
		 (mapcar (function
			  (lambda (path)
			    (expand-file-name path (getenv "PWD"))
			    ))
			 '("." "../tl")
			 )
		 load-path))

(require 'install)


;;; @ Please specify prefix of install directory.
;;;

;; Please specify install path prefix.
;; If it is omitted, shared directory (maybe /usr/local is used).
(defvar PREFIX install-prefix)
;;(setq PREFIX "~/")

;; Please specify tl prefix [optional]
;;(setq TL_PREFIX "tl")
(setq TL_PREFIX
      (if (string-match "XEmacs" emacs-version)
	  "tl"
	""))

;; Please specify yude-kkc prefix [optional]
(setq YK_PREFIX "yude-kkc")

;; lisp files of tm are installed into following directory tree:
;;
;;	<LISPDIR> = <PREFIX>/DATA_PREFIX/<install-elisp-prefix>/
;;	<LISPDIR>/mime-setup.{el|elc}
;;	<LISPDIR>/<TM_PACKAGE_PREFIX>/<TL_PREFIX>/  --- tl  lisp files
;;	<LISPDIR>/<TM_PACKAGE_PREFIX>/<YK_PREFIX>/  --- yude-kkc lisp files
;;
;; For example, if <PREFIX> = "/usr/local"
;;
;;	<LISPDIR> = /usr/local/share/emacs/site-lisp/
;;	/usr/local/share/emacs/site-lisp/	   --- tl  lisp files
;;	/usr/local/share/emacs/site-lisp/yude-kkc/ --- yude-kkc lisp files



;;; @ optional settings
;;;

;; It is generated by automatically. Please set variable `PREFIX'.
;; If you don't like default directory tree, please set it.
(defvar LISPDIR (install-detect-elisp-directory PREFIX))
;; (setq install-default-elisp-directory "~/lib/emacs/lisp")

(setq TL_DIR (expand-file-name TL_PREFIX LISPDIR))
(setq YK_DIR (expand-file-name YK_PREFIX LISPDIR))

;;; YK-CFG ends here
