diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-04-01 15:34:19 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-04-01 15:34:19 +0200 |
commit | bb42c78a23a96ef79c2b5e3b98c55eef53eac9fe (patch) | |
tree | 69f0cc446ea4a1362a7e96a236d695610b4e7a5b /gnu | |
parent | 7be8c63e0de635f8c669dc19d7ac1d3cdbe28894 (diff) | |
download | guix-bb42c78a23a96ef79c2b5e3b98c55eef53eac9fe.tar guix-bb42c78a23a96ef79c2b5e3b98c55eef53eac9fe.tar.gz |
build-system: Factorize the list of modules imported on the build side.
* guix/build-system/gnu.scm (%default-modules): Rename to...
(%gnu-build-system-modules): ... this.
(%default-modules): New variable.
(dist-package, gnu-build): Use %GNU-BUILD-SYSTEM-MODULES for
#:imported-modules.
(gnu-cross-build): Likewise, and use %DEFAULT-MODULES for #:modules.
* guix/build-system/cmake.scm (%cmake-build-system-modules): New
variable.
(cmake-build): Use it for #:imported-modules.
* guix/build-system/glib-or-gtk.scm (%default-imported-modules): Rename
to...
(%glib-or-gtk-build-system-modules): ... this. Refer to
%GNU-BUILD-SYSTEM-MODULES. Adjust uses.
* guix/build-system/perl.scm (%perl-build-system-modules): New
variable.
(perl-build): Use it for #:imported-modules.
* guix/build-system/python.scm (%python-build-system-modules): New
variable.
(python-build): Use it for #:imported-modules.
* guix/build-system/ruby.scm (%ruby-build-system-modules): New variable.
(ruby-build): Use it for #:imported-modules.
* guix/build-system/waf.scm (%waf-build-system-modules): New variable.
(waf-build): Use it for #:imported-modules.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions