X-Git-Url: https://cgit.sxemacs.org/?p=riece;a=blobdiff_plain;f=lisp%2FCOMPILE;h=0b5240d475dc6b9c8570a1900ac433d8e455e699;hp=4b79abc09a0d6f259b97087a019844426b0e48a4;hb=df0096c0db08e28894a01a0ddf44003da2ec23d5;hpb=107d20094003503fbc588b00e239c490f17d5c67 diff --git a/lisp/COMPILE b/lisp/COMPILE index 4b79abc..0b5240d 100644 --- a/lisp/COMPILE +++ b/lisp/COMPILE @@ -10,7 +10,9 @@ riece-version riece-coding riece-complete + riece-addon + riece-mode ;; riece-identity -+-> riece-channel ;; +-> riece-user riece-identity @@ -18,6 +20,8 @@ riece-user riece-misc + riece-signal + ;; riece-layout ---> riece-display riece-layout riece-display @@ -38,6 +42,7 @@ riece-500 riece-commands + riece-irc riece ;; add-ons @@ -50,7 +55,22 @@ riece-unread riece-doctor riece-alias - riece-skk-kakutei)))) + riece-skk-kakutei + riece-foolproof + riece-guess + riece-history + riece-button + riece-keyword + riece-menu + riece-icon + riece-async + riece-lsdb + riece-xface + riece-ctlseq + riece-ignore + riece-hangman + riece-biff + riece-kakasi)))) (defun riece-compile-modules (modules) (let ((load-path (cons nil load-path))) @@ -58,7 +78,9 @@ (let ((source (expand-file-name (concat (symbol-name (car modules)) ".el")))) (if (file-newer-than-file-p source (concat source "c")) - (byte-compile-file source))) + (condition-case error + (byte-compile-file source) + (error)))) (setq modules (cdr modules))))) (defun riece-install-modules (modules dest just-print) @@ -73,9 +95,12 @@ t t)) (princ (format "%s.elc -> %s\n" name dest)) (unless just-print - (copy-file (expand-file-name (concat name ".elc")) - (expand-file-name (concat name ".elc") dest) - t t))) + (if (file-exists-p (expand-file-name (concat name ".elc"))) + (copy-file (expand-file-name (concat name ".elc")) + (expand-file-name (concat name ".elc") dest) + t t) + (princ (format "(%s was not successfully compiled, ignored)\n" + name))))) (setq modules (cdr modules)))) (defun riece-install-just-print-p ()