mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: crm114: Use emacs-build-system install phase.
* gnu/packages/mail.scm (crm114)[arguments]: Install the crm114 emacs mode using the install phase from emacs-build-system, instead of in the custom pre-install phase. Run the make-autoloads phase after this new install-emacs-mode phase. Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
This commit is contained in:
parent
2354d79b88
commit
c1036042a5
1 changed files with 4 additions and 5 deletions
|
@ -4432,12 +4432,11 @@ (define-public crm114
|
||||||
;; Install mail related crm scripts.
|
;; Install mail related crm scripts.
|
||||||
(for-each (lambda (file)
|
(for-each (lambda (file)
|
||||||
(install-file file (string-append out "/bin")))
|
(install-file file (string-append out "/bin")))
|
||||||
(list "mailfilter.crm" "mailreaver.crm" "mailtrainer.crm"))
|
(list "mailfilter.crm" "mailreaver.crm" "mailtrainer.crm")))))
|
||||||
;; Create emacs site-lisp directory so that the install phase
|
(add-after 'install 'install-emacs-mode
|
||||||
;; can install crm-mode.
|
(assoc-ref emacs:%standard-phases 'install))
|
||||||
(mkdir-p (string-append out "/share/emacs/site-lisp")))))
|
|
||||||
;; Run phases from the emacs build system.
|
;; Run phases from the emacs build system.
|
||||||
(add-after 'install 'make-autoloads
|
(add-after 'install-emacs-mode 'make-autoloads
|
||||||
(assoc-ref emacs:%standard-phases 'make-autoloads))
|
(assoc-ref emacs:%standard-phases 'make-autoloads))
|
||||||
(add-after 'make-autoloads 'enable-autoloads-compilation
|
(add-after 'make-autoloads 'enable-autoloads-compilation
|
||||||
(assoc-ref emacs:%standard-phases 'enable-autoloads-compilation))
|
(assoc-ref emacs:%standard-phases 'enable-autoloads-compilation))
|
||||||
|
|
Loading…
Reference in a new issue