Updates to build files.

This commit is contained in:
Storm Dragon
2025-07-01 15:55:00 -04:00
parent 0405200980
commit 0c26025a81
5 changed files with 29 additions and 12 deletions

View File

@ -32,10 +32,14 @@ autoreconf --verbose --force --install -Wno-portability || {
exit 1
}
which yelp-build > /dev/null || {
echo "Try installing the 'yelp-tools' package."
exit 1
}
# Only check for yelp-build if help documentation will be built
# Skip check if SKIP_YELP environment variable is set
if [ "${SKIP_YELP}" != "1" ]; then
which yelp-build > /dev/null || {
echo "Try installing the 'yelp-tools' package, or set SKIP_YELP=1 to skip documentation."
exit 1
}
fi
cd "$olddir"