Abolish function `compile-apel-package'.
authormorioka <morioka>
Sun, 13 Sep 1998 06:17:10 +0000 (06:17 +0000)
committermorioka <morioka>
Sun, 13 Sep 1998 06:17:10 +0000 (06:17 +0000)
(install-apel-package): Update auto-autoloads.el and custom-load.el
at target directory.

APEL-MK

diff --git a/APEL-MK b/APEL-MK
index 9543ffd..a173c00 100644 (file)
--- a/APEL-MK
+++ b/APEL-MK
     (princ (format "PACKAGEDIR=%s\n" PACKAGEDIR))
     ))
 
-(defun compile-apel-package ()
+(defun install-apel-package ()
   (config-apel-package)
   (load "EMU-ELS")
-  (load-file "APEL-ELS")
-  
-  (setq autoload-package-name "apel")
-  (add-to-list 'command-line-args-left ".")
-  (batch-update-directory)
-
-  (add-to-list 'command-line-args-left ".")
-  (Custom-make-dependencies)
+  (let ((dir (expand-file-name APEL_PREFIX
+                              (expand-file-name "lisp"
+                                                PACKAGEDIR))))
+    (install-elisp-modules emu-modules "." dir)
+    (install-elisp-modules apel-modules        "." dir)
+    
+    (setq autoload-package-name "apel")
+    (add-to-list 'command-line-args-left dir)
+    (batch-update-directory)
 
-  (compile-elisp-modules emu-modules   ".")
-  (compile-elisp-modules (append apel-modules
-                                '(auto-autoloads custom-load))
-                        ".")
-  )
+    (add-to-list 'command-line-args-left dir)
+    (Custom-make-dependencies)
 
-(defun install-apel-package ()
-  (config-apel-package)
-  (load "EMU-ELS")
-  (install-elisp-modules (append emu-modules
-                                apel-modules
-                                '(mime auto-autoloads custom-load))
-                        "./"
-                        (expand-file-name APEL_PREFIX
-                                          (expand-file-name "lisp"
-                                                            PACKAGEDIR)))
-  )
+    (byte-compile-file (expand-file-name "auto-autoloads.el" dir))
+    (byte-compile-file (expand-file-name "custom-load.el" dir))
+    ))
 
 ;;; APEL-MK ends here