# Required variables
WORKSPACE=${WORKSPACE:-}
-arch=${arch:-}
+platform=${platform:-}
conf=${conf:-}
build=${build:-}
cc=${cc:-}
fi
# Set platform variables
-case "$arch" in
+case "$platform" in
macos*)
export MAKE=make
export TAR=tar
unset BABELTRACE_MINIMAL_LOG_LEVEL
# Enable the python bindings
- CONF_OPTS+=("--enable-python-bindings" "--enable-python-bindings-doc" "--enable-python-plugins")
+ CONF_OPTS+=("--enable-python-bindings" "--enable-python-plugins")
+ ;;
+
+doc)
+ echo "Documentation configuration"
+
+ CONF_OPTS+=("--enable-python-bindings" "--enable-python-bindings-doc" "--enable-python-plugins" "--enable-api-doc")
;;
min)