--- /dev/null
+;;; -*-Emacs-Lisp-*-
+;;;
+;;; $Id: MU-CFG,v 0.0 1997-03-14 07:27:30 morioka Exp $
+;;;
+
+(setq load-path (append
+ (mapcar (function
+ (lambda (path)
+ (expand-file-name path (getenv "PWD"))
+ ))
+ '("." "../emu" "../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 prefix for ``mu'' [optional]
+(setq MU_PREFIX "mu")
+
+\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 MU_DIR (expand-file-name MU_PREFIX LISPDIR))
+
+;;; MU-CFG ends here
--- /dev/null
+;;; -*-Emacs-Lisp-*-
+;;;
+;;; $Id: MU-MK,v 0.0 1997-03-14 07:27:50 morioka Exp $
+;;;
+
+(defun config-mu ()
+ (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 "MU-CFG")
+ (load-file "MU-ELS")
+ (princ (format "PREFIX=%s\n" PREFIX))
+ ))
+
+(defun compile-mu ()
+ (config-mu)
+ (compile-elisp-modules mu-modules ".")
+ )
+
+(defun install-mu ()
+ (config-mu)
+ (install-elisp-modules mu-modules "./" MU_DIR)
+ )
+
+;;; MU-MK ends here
--- /dev/null
+#
+# $Id: Makefile,v 0.0 1997-03-14 07:29:06 morioka Exp $
+#
+
+EMACS = emacs
+FLAGS = -batch -q -no-site-file -l MU-MK
+
+PREFIX =
+
+FILES = mu/Makefile mu/MU-CFG mu/MU-MK mu/MU-ELS \
+ mu/*.el mu/README.?? \
+ emu/Makefile emu/EMU-MK emu/EMU-CFG emu/EMU-ELS \
+ emu/*.el emu/README.?? \
+ apel/Makefile apel/APEL-MK apel/APEL-CFG apel/APEL-ELS \
+ apel/*.el
+
+
+TARFILE = mu-0.1.tar
+
+
+elc:
+ $(EMACS) $(FLAGS) -f compile-mu
+
+install: elc
+ $(EMACS) $(FLAGS) -f install-mu $(PREFIX)
+
+
+clean:
+ -rm *.elc
+
+
+tar:
+ cd ..; tar cvf $(TARFILE) $(FILES); gzip -best $(TARFILE)