X-Git-Url: https://cgit.sxemacs.org/?p=riece;a=blobdiff_plain;f=lisp%2FCOMPILE;h=1cfd0bacf086a64650b34934f8798db40b5de921;hp=62366a38cbcd41c9518354948da7118feb273c77;hb=98a36953177f5fefd34296ee9bca8f986232397a;hpb=fbecb9ec1b2ce2e210743e522470ae51a51491f2 diff --git a/lisp/COMPILE b/lisp/COMPILE index 62366a3..1cfd0ba 100644 --- a/lisp/COMPILE +++ b/lisp/COMPILE @@ -8,11 +8,11 @@ '(riece-globals riece-options riece-version - riece-inlines - riece-highlight riece-coding riece-complete + riece-addon + riece-mode ;; riece-identity -+-> riece-channel ;; +-> riece-user riece-identity @@ -20,6 +20,10 @@ riece-user riece-misc + riece-signal + + ;; riece-layout ---> riece-display + riece-layout riece-display riece-server @@ -38,7 +42,31 @@ riece-500 riece-commands - riece)))) + riece + + ;; add-ons + riece-ctcp + riece-highlight + riece-log + riece-mini + riece-rdcc + riece-url + riece-unread + riece-doctor + riece-alias + riece-skk-kakutei + riece-guess + riece-history + riece-button + riece-keyword + riece-menu + riece-icon + riece-async + riece-lsdb + riece-xface + riece-ctlseq + riece-ignore + riece-hangman)))) (defun riece-compile-modules (modules) (let ((load-path (cons nil load-path))) @@ -46,7 +74,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) @@ -61,9 +91,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 ()