From: morioka Date: Fri, 14 Mar 1997 07:23:48 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: XEmacs-20_3-b6~10 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=203445837626b645ebb10a2e2cb7bde84847f8e7;p=elisp%2Fapel.git *** empty log message *** --- diff --git a/APEL-CFG b/APEL-CFG new file mode 100644 index 0000000..4d7414c --- /dev/null +++ b/APEL-CFG @@ -0,0 +1,41 @@ +;;; -*-Emacs-Lisp-*- +;;; +;;; $Id: APEL-CFG,v 0.0 1997-03-14 07:21:45 morioka Exp $ +;;; + +(setq load-path (append + (mapcar (function + (lambda (path) + (expand-file-name path (getenv "PWD")) + )) + '("." "../emu") + ) + load-path)) + +(require 'install) + + +;;; @ Please specify prefix of install directory. +;;; + +;; Please specify install path prefix. +;; If it is omitted, shared directory (maybe /usr/local is used). +(defvar PREFIX install-prefix) +;;(setq PREFIX "~/") + +;; Please specify prefix for ``apel'' [optional] +(setq APEL_PREFIX "apel") + + + +;;; @ optional settings +;;; + +;; It is generated by automatically. Please set variable `PREFIX'. +;; If you don't like default directory tree, please set it. +(defvar LISPDIR (install-detect-elisp-directory PREFIX)) +;; (setq install-default-elisp-directory "~/lib/emacs/lisp") + +(setq APEL_DIR (expand-file-name APEL_PREFIX LISPDIR)) + +;;; APEL-CFG ends here diff --git a/APEL-MK b/APEL-MK new file mode 100644 index 0000000..464edef --- /dev/null +++ b/APEL-MK @@ -0,0 +1,30 @@ +;;; -*-Emacs-Lisp-*- +;;; +;;; $Id: APEL-MK,v 0.0 1997-03-14 07:23:48 morioka Exp $ +;;; + +(defun config-apel () + (let (prefix) + (setq prefix (car command-line-args-left)) + (and prefix + (not (string-equal "NONE" prefix)) + (progn + (defvar PREFIX prefix) + (setq command-line-args-left (cdr command-line-args-left)) + )) + (load-file "APEL-CFG") + (load-file "APEL-ELS") + (princ (format "PREFIX=%s\n" PREFIX)) + )) + +(defun compile-apel () + (config-apel) + (compile-elisp-modules apel-modules ".") + ) + +(defun install-apel () + (config-apel) + (install-elisp-modules apel-modules "./" APEL_DIR) + ) + +;;; APEL-MK ends here diff --git a/EMU-CFG b/EMU-CFG new file mode 100644 index 0000000..4eeb9b5 --- /dev/null +++ b/EMU-CFG @@ -0,0 +1,42 @@ +;;; -*-Emacs-Lisp-*- +;;; +;;; $Id: EMU-CFG,v 0.0 1997-03-14 07:16:00 morioka Exp $ +;;; + +(setq load-path (append + (mapcar (function + (lambda (path) + (expand-file-name path default-directory) + )) + '("." "../apel" "../tl") + ) + load-path)) + +(require 'install) + + +;;; @ Please specify prefix of install directory. +;;; + +;; Please specify install path prefix. +;; If it is omitted, shared directory (maybe /usr/local is used). +(defvar PREFIX install-prefix) +;;(setq PREFIX "~/") + +;; Please specify emu prefix [optional] +(setq EMU_PREFIX + (if (string-match "XEmacs" emacs-version) + "emu" + "")) + + + +;;; @ optional settings +;;; + +(setq EMU_DIR + (expand-file-name + EMU_PREFIX + (install-detect-elisp-directory PREFIX nil 'version-specific))) + +;;; EMU-CFG ends here diff --git a/EMU-MK b/EMU-MK new file mode 100644 index 0000000..378f30f --- /dev/null +++ b/EMU-MK @@ -0,0 +1,30 @@ +;;; -*-Emacs-Lisp-*- +;;; +;;; $Id: EMU-MK,v 0.0 1997-03-14 07:17:53 morioka Exp $ +;;; + +(defun config-emu () + (let (prefix) + (setq prefix (car command-line-args-left)) + (and prefix + (not (string-equal "NONE" prefix)) + (progn + (defvar PREFIX prefix) + (setq command-line-args-left (cdr command-line-args-left)) + )) + (load-file "EMU-CFG") + (load-file "EMU-ELS") + (princ (format "PREFIX=%s\n" PREFIX)) + )) + +(defun compile-emu () + (config-emu) + (compile-elisp-modules emu-modules ".") + ) + +(defun install-emu () + (config-emu) + (install-elisp-modules emu-modules "./" EMU_DIR) + ) + +;;; EMU-MK ends here