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 :
|
if [[ $platform = windows ]]; then :
|
||||||
else
|
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: /')
|
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
|
fi
|
||||||
|
|
||||||
touch "$prefix/out/.prepared"
|
touch "$prefix/out/.prepared"
|
||||||
|
Loading…
Reference in New Issue
Block a user