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
### 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
+1 -1
View File
@@ -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+=("$@")
}
+1 -1
View File
@@ -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 )