Remove Gnus, making way for new subtree Gnus pkg
[packages] / xemacs-packages / liece / lisp / liece-config.el
1 ;;; liece-config.el --- Installation settings.
2 ;; Copyright (C) 1999 Daiki Ueno
3
4 ;; Author: Daiki Ueno <ueno@unixuser.org>
5 ;; Created: 1999-04-12
6 ;; Revised: 1999-04-12
7 ;; Keywords: IRC, liece, APEL
8
9 ;; This file is part of Liece.
10
11 ;; This program is free software; you can redistribute it and/or modify
12 ;; it under the terms of the GNU General Public License as published by
13 ;; the Free Software Foundation; either version 2, or (at your option)
14 ;; any later version.
15
16 ;; This program is distributed in the hope that it will be useful,
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19 ;; GNU General Public License for more details.
20
21 ;; You should have received a copy of the GNU General Public License
22 ;; along with GNU Emacs; see the file COPYING.  If not, write to the
23 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
24 ;; Boston, MA 02111-1307, USA.
25
26
27 ;;; Commentary:
28 ;; 
29
30 ;;; Code:
31
32 (setq load-path (cons (expand-file-name "../apel") load-path))
33
34 (defvar default-load-path load-path)
35
36 (and (expand-file-name "../../site-lisp/apel" data-directory)
37      (setq load-path (cons
38                       (expand-file-name "../../site-lisp/apel" data-directory)
39                       load-path )))
40
41 (when (and (boundp 'LISPDIR) LISPDIR)
42   (or (member LISPDIR default-load-path)
43       (setq default-load-path (cons LISPDIR default-load-path)) )
44   (or (member LISPDIR load-path) (setq load-path (cons LISPDIR load-path)))
45   (or (member (expand-file-name "apel" LISPDIR) load-path)
46       (setq load-path (cons (expand-file-name "apel" LISPDIR) load-path))))
47
48 (setq load-path (cons (expand-file-name ".") load-path))
49
50 (defvar VERSION_SPECIFIC_LISPDIR nil)
51 (if (and VERSION_SPECIFIC_LISPDIR
52          (null (member VERSION_SPECIFIC_LISPDIR load-path)) )
53     (setq load-path (cons VERSION_SPECIFIC_LISPDIR load-path)) )
54
55 (require 'install)
56
57
58 ;;; @ Please specify prefix of install directory.
59 ;;;
60
61 ;; Please specify install path prefix.
62 ;; If it is omitted, shared directory (maybe /usr/local is used).
63 (defvar PREFIX install-prefix)
64 ;;(setq PREFIX "~/")
65
66 \f
67
68 ;;; @ optional settings
69 ;;;
70
71 (defvar VERSION_SPECIFIC_LISPDIR
72   (install-detect-elisp-directory PREFIX nil 'version-specific))
73
74 ;; It is generated by automatically. Please set variable `PREFIX'.
75 ;; If you don't like default directory tree, please set it.
76 (defvar LISPDIR (install-detect-elisp-directory PREFIX))
77 ;; (setq install-default-elisp-directory "~/lib/emacs/lisp")
78
79 (defvar PACKAGEDIR
80   (if (boundp 'early-packages)
81       (let ((dirs (append (if early-package-load-path
82                               early-packages)
83                           (if late-package-load-path
84                               late-packages)
85                           (if last-package-load-path
86                               last-packages)))
87             dir)
88         (while (and dirs (not (file-exists-p (setq dir (car dirs)))))
89           (setq dirs (cdr dirs)) )
90         dir )))
91
92 (defconst liece-config-info-file-regexp
93   (concat "^liece-faq\\.info\\(-[0-9]+\\)?$"))
94
95 ;;; liece-config.el ends here