*** empty log message ***
authormorioka <morioka>
Fri, 14 Mar 1997 07:29:06 +0000 (07:29 +0000)
committermorioka <morioka>
Fri, 14 Mar 1997 07:29:06 +0000 (07:29 +0000)
MU-CFG [new file with mode: 0644]
MU-MK [new file with mode: 0644]
Makefile [new file with mode: 0644]

diff --git a/MU-CFG b/MU-CFG
new file mode 100644 (file)
index 0000000..0ea9ef7
--- /dev/null
+++ b/MU-CFG
@@ -0,0 +1,41 @@
+;;; -*-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
diff --git a/MU-MK b/MU-MK
new file mode 100644 (file)
index 0000000..f039165
--- /dev/null
+++ b/MU-MK
@@ -0,0 +1,30 @@
+;;; -*-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
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..3755051
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,33 @@
+#
+# $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)