update.
[elisp/sinfo.git] / SINFO-CFG
1 ;;; -*-Emacs-Lisp-*-
2 ;;;
3 ;;; $Id: SINFO-CFG,v 1.2 1997-01-01 06:53:26 morioka Exp $
4 ;;;
5
6 (defvar default-load-path load-path)
7 (setq load-path (nconc
8                  (mapcar (function
9                           (lambda (path)
10                             (expand-file-name path default-directory)
11                             ))
12                          '("." "../emu" "../tl" "../sinfo")
13                          )
14                  load-path))
15
16 (require 'tl-misc)
17 (require 'install)
18
19
20 ;;; @ shell
21 ;;;
22
23 ;; Please specify shell command path.
24 (setq SHELL
25       (find-if (function file-exists-p)
26                '("/bin/sh" "/usr/bin/sh")
27                ))
28
29 ;; Please specify shell command option.
30 (setq SHELLOPTION "-c")
31
32
33 ;;; @ Please specify prefix of install directory.
34 ;;;
35
36 ;; Please specify install path prefix.
37 ;; If it is omitted, shared directory (maybe /usr/local is used).
38 (defvar PREFIX install-prefix)
39 ;;(setq PREFIX "~/")
40
41 ;; Please specify tl prefix [optional]
42 ;;(setq TL_PREFIX "tl")
43 (setq TL_PREFIX
44       (if (string-match "XEmacs" emacs-version)
45           "tl"
46         ""))
47
48 (setq SINFO_PREFIX "sinfo")
49
50
51 ;;; @ optional settings
52 ;;;
53
54 ;; It is generated by automatically. Please set variable `PREFIX'.
55 ;; If you don't like default directory tree, please set it.
56 (defvar LISPDIR (install-detect-elisp-directory PREFIX))
57 ;; (setq install-default-elisp-directory "~/lib/emacs/lisp")
58
59 (setq EMU_DIR (install-detect-elisp-directory PREFIX nil
60                                               'version-specific))
61
62 (setq TL_DIR (expand-file-name TL_PREFIX LISPDIR))
63 (setq SINFO_DIR (expand-file-name SINFO_PREFIX LISPDIR))
64
65 (setq DTD_DIR (expand-file-name "share/sgml/dtd" PREFIX))
66 (setq TEXI_REP_DIR (expand-file-name "share/sgml/rep/sinfo" PREFIX))
67
68 ;;; SINFO-CFG ends here