build-system: pbuild::install_docfiles(): exit with error if called

This commit is contained in:
2025-11-27 16:25:26 +01:00
parent a9fd3341a6
commit cddd618a4b
3 changed files with 8 additions and 6 deletions
+6 -4
View File
@@ -3,16 +3,18 @@
## Version 2.0.3 ## Version 2.0.3
### modulecmd ### modulecmd
* Misleading error message fix if system configuration file is not * Misleading error message fixed if system configuration file is not readable.
readable.
(#1316) (#1316)
### build system ### build system
* set CC and CXX if not defined. This was a bug introduced in 2.0.2 * pbuild::install_docfiles() is now obsolete. If called it exists with
(#1322) an error message.
(#1327)
* default values for `PMODULES_TMPDIR` and `PMODULES_DISTFILESDIR` are now * default values for `PMODULES_TMPDIR` and `PMODULES_DISTFILESDIR` are now
more general. more general.
(#1325) (#1325)
* set CC and CXX if not defined. This was a bug introduced in 2.0.2
(#1322)
### building Pmodules ### building Pmodules
* path to Lua installation fixed in recipe to build luarocks * path to Lua installation fixed in recipe to build luarocks
+1 -1
View File
@@ -672,7 +672,7 @@ pbuild::compile() {
# $@: documentation files relative to source # $@: documentation files relative to source
# #
pbuild::install_docfiles() { pbuild::install_docfiles() {
std::info \ std::die \
"Using ${FUNCNAME[0]} is deprecated with YAML module configuration files." "Using ${FUNCNAME[0]} is deprecated with YAML module configuration files."
MODULE_DOCFILES+=("$@") MODULE_DOCFILES+=("$@")
} }
+1 -1
View File
@@ -136,7 +136,7 @@ save_env() {
via a trap handler.' via a trap handler.'
encode_base64(){ encode_base64(){
local -- os_name='' local -- os_name=''
os_name=$(${uname} -s) os_name=$(uname -s)
case "${os_name}" in case "${os_name}" in
Linux ) Linux )