mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-08-06 19:32:26 +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
|
## 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
|
||||||
|
|||||||
@@ -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+=("$@")
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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 )
|
||||||
|
|||||||
Reference in New Issue
Block a user