mirror of
https://github.com/envmodules/modules.git
synced 2026-06-14 00:42:43 +08:00
Add makefile rules to generate the modulerc and .modulespath configuration files. modulerc is generated in any case. By default it hosts the MODULEPATH and LOADEDMODULES definition passed to the Makefile with the 'modulepath' and 'loadedmodules' argument. The 'setdotmodulespath' Makefile argument is also introduced. When set to 'y', the .modulespath is generated and hosts the MODULEPATH definition. In this case, modulerc config file only gets the LOADEDMODULES definition or is set empty if no value is passed to the 'loadedmodules' argument.
5 lines
201 B
Plaintext
5 lines
201 B
Plaintext
# This file defines the initial setup for the modulefiles search path
|
|
# Each line containing one or multiple paths delimited by ':' will be
|
|
# added to the MODULEPATH environment variable.
|
|
@modulepath@
|