Fix build script for libs that have no INSTALL file.
This commit is contained in:
parent
feac039bc4
commit
4521c4f919
@ -132,8 +132,10 @@ _prepare_config() {
|
||||
|
||||
if [[ $platform = windows ]]; then :
|
||||
else
|
||||
# autoreconf installs a useless INSTALL documentation stub that can overwrite repo docs.
|
||||
[[ -e INSTALL ]] && mv INSTALL{,~}
|
||||
autoreconf --verbose --install --force 2> >(sed 's/^\([^:]*\):[0-9]\{1,\}: /\1: /')
|
||||
[[ -e .git ]] && git checkout @ -- INSTALL # autoreconf installs a useless INSTALL documentation stub that can overwrite repo docs.
|
||||
[[ -e INSTALL~ ]] && mv INSTALL{~,}
|
||||
fi
|
||||
|
||||
touch "$prefix/out/.prepared"
|
||||
|
Loading…
Reference in New Issue
Block a user