summaryrefslogtreecommitdiff
path: root/guix/build/emacs-utils.scm
AgeCommit message (Collapse)Author
2018-05-06Merge branch 'master' into core-updatesMarius Bakke
2018-05-03build: emacs-utils: Fail when byte compilation fails.Maxim Cournoyer
Byte compilation failures were ignored prior to this change. * guix/build/emacs-utils.scm (emacs-byte-compile-directory): Fail when there are compilation errors. Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2018-04-21Merge branch 'master' into core-updatesMark H Weaver
2018-04-20build-system: emacs: Replace system* with invoke.Maxim Cournoyer
* guix/build/emacs-utils.scm: Use (guix build utils) for invoke. (emacs-batch-eval, emacs-batch-edit-file): Replace system* with invoke. * guix/build/emacs-build-system.scm (make-autoloads): No need to return #t explicitly since emacs-generate-autoloads now uses invoke. Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2018-03-16build: emacs-utils: Use invoke instead of system*.Mark H Weaver
* guix/build/emacs-utils.scm (emacs-batch-eval) (emacs-batch-edit-file): Use invoke.
2018-02-05emacs-build-system: Add set-emacs-load-path phase.Maxim Cournoyer
This generalizes the mechanism by which the Emacs dependencies are made visible, so that any build phase can make use of them. * guix/build/emacs-build-system.scm (%legacy-install-suffix): New variable. (%install-suffix): Redefine in terms of %legacy-install-suffix. (set-emacs-load-path): Add new phase used for dependency resolution. (build): Remove ad-hoc dependency discovery mechanism. (emacs-input->el-directory): Add new procedure. (emacs-inputs-el-directories): Use it. (package-name-version->elpa-name-version): Fix typo. (%standard-phases): Include the new `set-emacs-load-path' phase. Refactor to make the ordering of the phases clearer. * guix/build/emacs-utils.scm (emacs-byte-compile-directory): Remove the optional `dependency-dirs' argument, which is now obsoleted by the `set-emacs-load-path' phase. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-07-08build: emacs-utils: Add 'emacs-byte-compile-directory'.Federico Beffa
* guix/build/emacs-utils.scm (emacs-byte-compile-directory): New procedure.
2014-12-02build: emacs-utils: Add 'emacs-generate-autoloads'.Alex Kost
* guix/build/emacs-utils.scm (emacs-generate-autoloads): New procedure.
2014-08-14Add (guix build emacs-utils).Mark H Weaver
* guix/build/emacs-utils.scm: New file. * Makefile.am (MODULES): Add it. * .dir-locals.el: Add indentation rules.