s/GENERATE_DOCS/generate_docs/g
This commit is contained in:
parent
72af4b4019
commit
ed771fe87f
4
build.sh
4
build.sh
|
@ -28,7 +28,7 @@ check() {
|
||||||
[ -n "$(ldconfig -p | grep freetype)" ] && printf "freetype found\n" && freetype=true || freetype=false
|
[ -n "$(ldconfig -p | grep freetype)" ] && printf "freetype found\n" && freetype=true || freetype=false
|
||||||
[ -n "$(ldconfig -p | grep libconfig)" ] && printf "libconfig found\n" && libconfig=true || libconfig=false
|
[ -n "$(ldconfig -p | grep libconfig)" ] && printf "libconfig found\n" && libconfig=true || libconfig=false
|
||||||
else
|
else
|
||||||
GEN_MANUAL="false"
|
gen_manual="false"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ loadconf() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
[ ! -f "meson.build" ] && printf "meson.build does not exist.\n" && exit 1
|
[ ! -f "meson.build" ] && printf "meson.build does not exist.\n" && exit 1
|
||||||
[ "$GEN_MANUAL" != "false" ] && [ -x "$(command -v pandoc)" ] && scripts/make/generate-docs.sh
|
[ "$gen_manual" != "false" ] && [ -x "$(command -v pandoc)" ] && scripts/make/generate-docs.sh
|
||||||
|
|
||||||
cp -f meson.build meson.build.orig
|
cp -f meson.build meson.build.orig
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue