3 ;;; $Id: TM-CFG,v 3.0 1996/03/27 19:38:12 morioka Exp morioka $
6 (setq load-path (append
9 (expand-file-name path (getenv "PWD"))
11 '("." "../tl/" "../mel/" "mh-e/")
18 ;;; @ Please specify optional package directory if you use them.
21 ;; Please specify VM path.
22 (add-path "vm-5.95beta/" 'all-paths)
24 ;; Please specify Mailcrypt path.
25 (add-path "mailcrypt-3.4/" 'all-paths)
27 ;; Please specify BBDB path.
28 (add-path "bbdb-1.50/" 'all-paths)
34 ;; Please specify shell command path.
35 (setq SHELL "/bin/sh")
37 ;; Please specify shell command option.
38 (setq SHELLOPTION "-c")
41 ;;; @ Please specify prefix of install directory.
44 ;; Please specify install path prefix.
45 ;;(setq PREFIX "~/") ; install to you home directory
46 (setq PREFIX "/usr/local/") ; install to shared directory
48 ;; Please specify tm package prefix [optional]
49 (setq TM_PACKAGE_PREFIX "")
51 ;; Please specify tl prefix [optional]
52 ;;(setq TL_PREFIX "tl/")
54 (if (string-match "XEmacs" emacs-version)
58 ;; Please specify MEL prefix [optional]
59 (setq MEL_PREFIX "mel/")
61 ;; Please specify tm prefix [optional]
62 (setq TM_PREFIX "tm/")
64 ;; lisp files of tm are installed into following directory tree:
66 ;; LISPDIR = PREFIX/DATA_PREFIX/LISP_PREFIX/
67 ;; LISPDIR/mime-setup.{el|elc}
68 ;; LISPDIR/TM_PACKAGE_PREFIX/TL_PREFIX/ --- tl lisp files
69 ;; LISPDIR/TM_PACKAGE_PREFIX/MEL_PREFIX/ --- MEL lisp files
70 ;; LISPDIR/TM_PACKAGE_PREFIX/TM_PREFIX/ --- tm lisp files
72 ;; For example, if PREFIX = "/usr/local/" and you use Emacs 19.30,
74 ;; LISPDIR = /usr/local/share/emacs/site-lisp/
75 ;; /usr/local/share/emacs/site-lisp/mime-setup.{el|elc}
76 ;; /usr/local/share/emacs/site-lisp/ --- tl lisp files
77 ;; /usr/local/share/emacs/site-lisp/mel/ --- MEL lisp files
78 ;; /usr/local/share/emacs/site-lisp/tm/ --- tm lisp files
80 ;; For example, if PREFIX = "~/" and you use XEmacs,
82 ;; LISPDIR = ~/share/xemacs/site-lisp/
83 ;; ~/share/xemacs/site-lisp/mime-setup.{el|elc}
84 ;; ~/share/xemacs/site-lisp/tl/ --- tl lisp files
85 ;; ~/share/xemacs/site-lisp/mel/ --- MEL lisp files
86 ;; ~/share/xemacs/site-lisp/tm/ --- tm lisp files
92 ;; Please specify binary path.
93 (defvar BIN_DIR (expand-file-name "bin/" PREFIX))
95 ;; Please specify binary path. (for external method scripts)
96 (setq METHOD_DIR BIN_DIR)
101 ;;; @ optional settings
105 (cond ((boundp 'NEMACS) "nemacs/")
106 ((boundp 'MULE) "mule/")
107 ((string-match "XEmacs" emacs-version) "xemacs/")
112 (if (or (< emacs-major-version 19)
113 (< emacs-minor-version 29)
118 (setq DATADIR (expand-file-name DATA_PREFIX PREFIX))
121 (if (>= emacs-major-version 19)
125 (setq EMACS_DATADIR (expand-file-name EMACS_PREFIX DATADIR))
127 (defvar LISPDIR (expand-file-name LISP_PREFIX EMACS_DATADIR))
130 ;; Please specify mime-setup.{el|elc} install path.
131 (setq SETUP_FILE_DIR LISPDIR)
134 (setq TM_LISPDIR (expand-file-name TM_PACKAGE_PREFIX LISPDIR))
136 (setq TL_DIR (expand-file-name TL_PREFIX TM_LISPDIR))
137 (setq MEL_DIR (expand-file-name MEL_PREFIX TM_LISPDIR))
138 (setq TM_KERNEL_DIR (expand-file-name TM_PREFIX TM_LISPDIR))
139 (setq TM_MHE_DIR TM_KERNEL_DIR)
140 (setq TM_GNUS_DIR TM_KERNEL_DIR)
142 (setq TM_GNUS_COMPILE_FORMAT "cd gnus; PWD=`pwd` make %s EMACS=%s")
143 (setq TM_GNUS_INSTALL_FORMAT "cd gnus; PWD=`pwd` make install-19 EMACS=%s TMDIR19=%s")
145 (setq el-file-mode (+ (* 64 6)(* 8 4) 4))
148 (setq BIN_SRC_DIR "src/")
149 (setq BINS '("src/ol2" "src/decode-b"))
150 (setq METHOD_SRC_DIR "methods/")
152 '("tm-au" "tm-file" "tm-html" "tm-image" "tm-mpeg" "tm-plain"