| 1 |
;;; APEL-CFG --- user customizations for APEL installation. -*-Emacs-Lisp-*- |
| 2 |
|
| 3 |
;;; Commentary: |
| 4 |
|
| 5 |
;; Use this file to override variables defined in APEL-MK. |
| 6 |
;; |
| 7 |
;; The following variables are used in APEL-MK. |
| 8 |
;; Note that you cannot use them in this file. |
| 9 |
;; |
| 10 |
;; For Emacs, or XEmacs without package system: |
| 11 |
;; |
| 12 |
;; PREFIX: Normally, "/usr/local". |
| 13 |
;; Installer will try to detect it automatically. |
| 14 |
;; LISPDIR: "PREFIX/share/emacs/site-lisp" if Emacs 19.29 and later. |
| 15 |
;; "PREFIX/lib/emacs/site-lisp" if Emacs 19.28 and earlier. |
| 16 |
;; Installer will try to detect it from PREFIX. |
| 17 |
;; VERSION_SPECIFIC_LISPDIR: "PREFIX/share/emacs/VERSION/site-lisp" |
| 18 |
;; if Emacs 19.31 and later, otherwise, same as LISPDIR. |
| 19 |
;; |
| 20 |
;; APEL_PREFIX: subdirectory of LISPDIR where APEL modules will be |
| 21 |
;; installed, or "" if you don't want to make subdirectory. |
| 22 |
;; EMU_PREFIX: subdirectory of VERSION_SPECIFIC_LISPDIR where EMU |
| 23 |
;; modules will be installed, or "" if you don't want to |
| 24 |
;; make subdirectory. |
| 25 |
;; |
| 26 |
;; APEL_DIR: The directory where APEL modules will be installed. |
| 27 |
;; Generated from LISPDIR and APEL_PREFIX if it is not set. |
| 28 |
;; EMU_DIR: The directory where EMU modules will be installed. |
| 29 |
;; Generated from VERSION_SPECIFIC_LISPDIR and EMU_PREFIX |
| 30 |
;; if it is not set. |
| 31 |
;; |
| 32 |
;; For XEmacs with package system: |
| 33 |
;; |
| 34 |
;; PACKAGEDIR: "/usr/local/lib/xemacs/xemacs-packages" |
| 35 |
;; Installer will try to detect it automatically. |
| 36 |
;; |
| 37 |
;; APEL_PREFIX: subdirectory of PACKAGEDIR where both APEL and EMU |
| 38 |
;; modules will be installed. |
| 39 |
|
| 40 |
;;; Code: |
| 41 |
|
| 42 |
;;; "custom" library. |
| 43 |
|
| 44 |
;; If you want to use "new custom" but do not use "subdirs.el" to add |
| 45 |
;; "custom" directory to your load-path, uncomment and edit this. |
| 46 |
;; (setq load-path |
| 47 |
;; (cons "/usr/local/share/emacs/19.34/site-lisp/custom" load-path)) |
| 48 |
|
| 49 |
|
| 50 |
;;; Install to home directory. |
| 51 |
|
| 52 |
;; If you want to install APEL to your home directory and you already |
| 53 |
;; have the standard hierarchy such as "~/share/emacs/site-lisp" and |
| 54 |
;; "~/share/emacs/VERSION/site-lisp", uncomment and edit this. |
| 55 |
;; (setq PREFIX "~/") |
| 56 |
|
| 57 |
;; Or, you can specify APEL_DIR and EMU_DIR directly. |
| 58 |
;; (setq APEL_DIR "~/lib/emacs/lisp/apel") |
| 59 |
;; (setq EMU_DIR "~/lib/emacs/lisp/emu") |
| 60 |
|
| 61 |
|
| 62 |
;;; Install to site-lisp directories. |
| 63 |
|
| 64 |
;; (setq PREFIX "/usr/local") |
| 65 |
|
| 66 |
;; Mule based on Emacs 19.28 and earlier. |
| 67 |
;; (setq LISPDIR "/usr/local/share/mule/site-lisp") |
| 68 |
;; Mule based on Emacs 19.29 and later. |
| 69 |
;; (setq LISPDIR "/usr/local/share/emacs/site-lisp") |
| 70 |
;; (setq LISPDIR "/usr/local/share/mule/site-lisp") |
| 71 |
;; (setq VERSION_SPECIFIC_LISPDIR "/usr/local/share/emacs/19.34/site-lisp") |
| 72 |
;; (setq VERSION_SPECIFIC_LISPDIR "/usr/local/share/mule/19.34/site-lisp") |
| 73 |
|
| 74 |
;; XEmacs 21.0 and later. |
| 75 |
;; (setq PACKAGEDIR "/usr/local/lib/xemacs/xemacs-packages") |
| 76 |
|
| 77 |
;; (setq APEL_PREFIX "apel") |
| 78 |
;; (setq EMU_PREFIX "emu") |
| 79 |
|
| 80 |
;; If you want to install all of APEL modules to VERSION_SPECIFIC_LISPDIR, |
| 81 |
;; uncomment and edit this. |
| 82 |
;; (setq APEL_DIR "/usr/local/share/emacs/19.34/site-lisp/apel") |
| 83 |
|
| 84 |
;; You can specify APEL_DIR and EMU_DIR directly. Uncomment and edit this. |
| 85 |
;; (setq APEL_DIR "/usr/local/share/emacs/site-lisp/apel") |
| 86 |
;; (setq EMU_DIR "/usr/local/share/emacs/19.34/site-lisp/emu") |
| 87 |
|
| 88 |
;;; APEL-CFG ends here |