gnu: emacs-pdf-tools: Build autoloads before installing them.
* gnu/packages/emacs-xyz.scm (emacs-pdf-tools)[#:phases]: Move ‘emacs-make-autoloads’ after ‘enter-lisp-dir’.master
parent
ec7d68bcef
commit
60c97924e9
|
@ -5375,6 +5375,8 @@ during idle time, while Emacs is doing nothing else.")
|
||||||
;; upgrading" that pdf-tools tries to perform.
|
;; upgrading" that pdf-tools tries to perform.
|
||||||
(emacs-substitute-variables "pdf-tools.el"
|
(emacs-substitute-variables "pdf-tools.el"
|
||||||
("pdf-tools-handle-upgrades" '()))))
|
("pdf-tools-handle-upgrades" '()))))
|
||||||
|
(add-after 'enter-lisp-dir 'emacs-make-autoloads
|
||||||
|
(assoc-ref emacs:%standard-phases 'make-autoloads))
|
||||||
(add-after 'emacs-patch-variables 'emacs-expand-load-path
|
(add-after 'emacs-patch-variables 'emacs-expand-load-path
|
||||||
(assoc-ref emacs:%standard-phases 'expand-load-path))
|
(assoc-ref emacs:%standard-phases 'expand-load-path))
|
||||||
(add-after 'emacs-expand-load-path 'emacs-add-install-to-native-load-path
|
(add-after 'emacs-expand-load-path 'emacs-add-install-to-native-load-path
|
||||||
|
@ -5382,9 +5384,7 @@ during idle time, while Emacs is doing nothing else.")
|
||||||
(add-after 'emacs-add-install-to-native-load-path 'emacs-install
|
(add-after 'emacs-add-install-to-native-load-path 'emacs-install
|
||||||
(assoc-ref emacs:%standard-phases 'install))
|
(assoc-ref emacs:%standard-phases 'install))
|
||||||
(add-after 'emacs-install 'emacs-build
|
(add-after 'emacs-install 'emacs-build
|
||||||
(assoc-ref emacs:%standard-phases 'build))
|
(assoc-ref emacs:%standard-phases 'build)))))
|
||||||
(add-after 'emacs-install 'emacs-make-autoloads
|
|
||||||
(assoc-ref emacs:%standard-phases 'make-autoloads)))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list autoconf automake emacs-minimal pkg-config))
|
(list autoconf automake emacs-minimal pkg-config))
|
||||||
(inputs
|
(inputs
|
||||||
|
|
Reference in New Issue