tm 7.48.
[elisp/tm.git] / TM-CFG
1 ;;; -*-Emacs-Lisp-*-
2 ;;;
3 ;;; $Id: TM-CFG,v 2.0 1996/03/11 14:54:25 morioka Exp $
4 ;;;
5
6 (setq load-path (append
7                  (mapcar (function
8                           (lambda (path)
9                             (expand-file-name path (getenv "PWD"))
10                             ))
11                          '("." "../tl/" "../mel/" "mh-e/")
12                          )
13                  load-path))
14
15 (require 'tl-misc)
16
17
18 ;; Please specify VM path.
19 (add-path "vm-5.95beta/" 'all-paths)
20
21 ;; Please specify Mailcrypt path.
22 (add-path "mailcrypt-3.4/" 'all-paths)
23
24 ;; Please specify BBDB path.
25 (add-path "bbdb-1.50/" 'all-paths)
26
27 ;; Please specify shell command path.
28 (setq SHELL "/bin/sh")
29
30 ;; Please specify shell command option.
31 (setq SHELLOPTION "-c")
32
33 ;; Please specify install path prefix.
34 (setq PREFIX "~/")
35 ;;(setq PREFIX "/usr/local/")
36
37 (setq EMACS_PREFIX
38       (cond ((boundp 'NEMACS) "nemacs/")
39             ((boundp 'MULE)   "mule/")
40             ((string-match "XEmacs" emacs-version) "xemacs/")
41             (t "emacs/")
42             ))
43
44 (setq DATA_PREFIX
45       (if (or (< emacs-major-version 19)
46               (< emacs-minor-version 29)
47               )
48           "lib/"
49         "share/"))
50
51 (setq DATADIR (expand-file-name DATA_PREFIX PREFIX))
52
53 (setq LISP_PREFIX
54       (if (>= emacs-major-version 19)
55           "site-lisp/"
56         "local.lisp/"))
57
58 (setq EMACS_DATADIR (expand-file-name EMACS_PREFIX DATADIR))
59
60 (defvar LISPDIR (expand-file-name LISP_PREFIX EMACS_DATADIR))
61
62
63 ;; Please specify mime-setup.{el|elc} install path.
64 (setq SETUP_FILE_DIR LISPDIR)
65
66
67 (setq TM_PREFIX "")
68
69 (setq TM_LISPDIR (expand-file-name TM_PREFIX LISPDIR))
70
71 (setq TL_DIR (expand-file-name "tl/" TM_LISPDIR))
72 (setq MEL_DIR (expand-file-name "mel/" TM_LISPDIR))
73 (setq TM_KERNEL_DIR (expand-file-name "tm/" TM_LISPDIR))
74 (setq TM_MHE_DIR TM_KERNEL_DIR)
75 (setq TM_GNUS_DIR TM_KERNEL_DIR)
76
77 (setq TM_GNUS_COMPILE_FORMAT "cd gnus; PWD=`pwd` make %s EMACS=%s")
78 (setq TM_GNUS_INSTALL_FORMAT "cd gnus; PWD=`pwd` make install-19 EMACS=%s TMDIR19=%s")
79
80 (setq el-file-mode (+ (* 64 6)(* 8 4) 4))
81
82
83 (setq BIN_SRC_DIR "src/")
84 (setq BINS '("src/ol2" "src/decode-b"))
85 (setq METHOD_SRC_DIR "methods/")
86 (setq METHODS
87       '("tm-au" "tm-file" "tm-html" "tm-image" "tm-mpeg" "tm-plain"
88         "tmdecode"))
89
90
91 ;; Please specify binary path.
92 (defvar BIN_DIR (expand-file-name "bin/" PREFIX))
93
94 ;; Please specify binary path.
95 (setq METHOD_DIR BIN_DIR)