summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorFederico Beffa <beffa@fbengineering.ch>2015-06-21 10:10:05 +0200
committerFederico Beffa <beffa@fbengineering.ch>2015-07-08 10:53:05 +0200
commite9137a5310c8cfbcf36fcef689853958b0b5dc6f (patch)
treed39ca1a6e12a44428b67bc615f560893354ef888 /doc
parent1d44b4e544151f9911b3a19b522e5b9584ba7632 (diff)
build: Add 'emacs-build-system'.
* Makefile.am (MODULES): Add 'guix/build-system/emacs.scm' and 'guix/build/emacs-build-system.scm'. * guix/build-system/emacs.scm: New file. * guix/build/emacs-build-system.scm: New file. * doc/guix.texi (Build Systems): Document it.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index d10279e992f..585017f5cff 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -2454,6 +2454,19 @@ Which Haskell compiler is used can be specified with the @code{#:haskell}
2454parameter which defaults to @code{ghc}. 2454parameter which defaults to @code{ghc}.
2455@end defvr 2455@end defvr
2456 2456
2457@defvr {Scheme Variable} emacs-build-system
2458This variable is exported by @code{(guix build-system emacs)}. It
2459implements an installation procedure similar to the one of Emacs' own
2460packaging system (@pxref{Packages,,, emacs, The GNU Emacs Manual}).
2461
2462It first creates the @code{@var{package}-autoloads.el} file, then it
2463byte compiles all Emacs Lisp files. Differently from the Emacs
2464packaging system, the Info documentation files are moved to the standard
2465documentation directory and the @file{dir} file is deleted. Each
2466package is installed in its own directory under
2467@file{share/emacs/site-lisp/guix.d}.
2468@end defvr
2469
2457Lastly, for packages that do not need anything as sophisticated, a 2470Lastly, for packages that do not need anything as sophisticated, a
2458``trivial'' build system is provided. It is trivial in the sense that 2471``trivial'' build system is provided. It is trivial in the sense that
2459it provides basically no support: it does not pull any implicit inputs, 2472it provides basically no support: it does not pull any implicit inputs,