--- /dev/null
+;;; -*-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")
+
+\f
+
+;;; @ 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
--- /dev/null
+;;; -*-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
--- /dev/null
+;;; -*-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"
+ ""))
+
+\f
+
+;;; @ optional settings
+;;;
+
+(setq EMU_DIR
+ (expand-file-name
+ EMU_PREFIX
+ (install-detect-elisp-directory PREFIX nil 'version-specific)))
+
+;;; EMU-CFG ends here
--- /dev/null
+;;; -*-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