emacs-build-system: Make the order of the phases more clear.

* guix/build/emacs-build-system.scm (%standard-phases): Re-arrange to explicit
the ordering of phases.
This commit is contained in:
Maxim Cournoyer 2019-12-08 07:18:46 +09:00
parent 629a53844b
commit d0105e7f29
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -239,15 +239,14 @@ (define %standard-phases
(add-after 'unpack 'add-source-to-load-path add-source-to-load-path) (add-after 'unpack 'add-source-to-load-path add-source-to-load-path)
(delete 'bootstrap) (delete 'bootstrap)
(delete 'configure) (delete 'configure)
;; Move the build phase after install: the .el files are byte compiled
;; directly in the store.
(delete 'build) (delete 'build)
(replace 'check check) (replace 'check check)
(replace 'install install) (replace 'install install)
(add-after 'install 'build build)
(add-after 'install 'make-autoloads make-autoloads) (add-after 'install 'make-autoloads make-autoloads)
(add-after 'make-autoloads 'patch-el-files patch-el-files) (add-after 'make-autoloads 'patch-el-files patch-el-files)
(add-after 'make-autoloads 'move-doc move-doc))) ;; The .el files are byte compiled directly in the store.
(add-after 'patch-el-files 'build build)
(add-after 'build 'move-doc move-doc)))
(define* (emacs-build #:key inputs (phases %standard-phases) (define* (emacs-build #:key inputs (phases %standard-phases)
#:allow-other-keys #:rest args) #:allow-other-keys #:rest args)