mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-21 23:37:58 +02:00
build-system: pbuild::install_docfiles(): exit with error if called
This commit is contained in:
+6
-4
@@ -3,16 +3,18 @@
|
||||
## Version 2.0.3
|
||||
|
||||
### modulecmd
|
||||
* Misleading error message fix if system configuration file is not
|
||||
readable.
|
||||
* Misleading error message fixed if system configuration file is not readable.
|
||||
(#1316)
|
||||
|
||||
### build system
|
||||
* set CC and CXX if not defined. This was a bug introduced in 2.0.2
|
||||
(#1322)
|
||||
* pbuild::install_docfiles() is now obsolete. If called it exists with
|
||||
an error message.
|
||||
(#1327)
|
||||
* default values for `PMODULES_TMPDIR` and `PMODULES_DISTFILESDIR` are now
|
||||
more general.
|
||||
(#1325)
|
||||
* set CC and CXX if not defined. This was a bug introduced in 2.0.2
|
||||
(#1322)
|
||||
|
||||
### building Pmodules
|
||||
* path to Lua installation fixed in recipe to build luarocks
|
||||
|
||||
@@ -672,7 +672,7 @@ pbuild::compile() {
|
||||
# $@: documentation files relative to source
|
||||
#
|
||||
pbuild::install_docfiles() {
|
||||
std::info \
|
||||
std::die \
|
||||
"Using ${FUNCNAME[0]} is deprecated with YAML module configuration files."
|
||||
MODULE_DOCFILES+=("$@")
|
||||
}
|
||||
|
||||
@@ -136,7 +136,7 @@ save_env() {
|
||||
via a trap handler.'
|
||||
encode_base64(){
|
||||
local -- os_name=''
|
||||
os_name=$(${uname} -s)
|
||||
os_name=$(uname -s)
|
||||
|
||||
case "${os_name}" in
|
||||
Linux )
|
||||
|
||||
Reference in New Issue
Block a user