summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlf Watt <alf.watt@mapbox.com>2019-03-19 11:23:53 -0700
committerAlf Watt <alf.watt@mapbox.com>2019-03-19 11:26:37 -0700
commit91fce4cc5a94ddfe1df6df788c8fc6fdfebb16ab (patch)
treee782e45427f45ee598492607b54f3d7feaf315b0
parentb0663e980749d02f050ba403bd5079f530d0c28e (diff)
downloadqtlocation-mapboxgl-91fce4cc5a94ddfe1df6df788c8fc6fdfebb16ab.tar.gz
Nobody likes a negative build flag
-rw-r--r--Makefile4
-rwxr-xr-xplatform/ios/scripts/package.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index ea67429cb0..1210cf3f78 100644
--- a/Makefile
+++ b/Makefile
@@ -56,7 +56,7 @@ default: test
BUILD_DEPS += Makefile
BUILD_DEPS += CMakeLists.txt
-SKIP_DOCS := false
+BUILD__DOCS := true
#### macOS targets ##############################################################
@@ -275,7 +275,7 @@ ipackage%:
.PHONY: iframework
iframework: $(IOS_PROJ_PATH)
- FORMAT=$(FORMAT) BUILD_DEVICE=$(BUILD_DEVICE) SYMBOLS=$(SYMBOLS) SKIP_DOCS=$(SKIP_DOCS) \
+ FORMAT=$(FORMAT) BUILD_DEVICE=$(BUILD_DEVICE) SYMBOLS=$(SYMBOLS) BUILD_DOCS=$(BUILD_DOCS) \
./platform/ios/scripts/package.sh
.PHONY: ideploy
diff --git a/platform/ios/scripts/package.sh b/platform/ios/scripts/package.sh
index d1fa8f9a22..a37b3c7fda 100755
--- a/platform/ios/scripts/package.sh
+++ b/platform/ios/scripts/package.sh
@@ -11,7 +11,7 @@ PRODUCTS=${DERIVED_DATA}
LOG_PATH=build/xcodebuild-$(date +"%Y-%m-%d_%H%M%S").log
BUILD_FOR_DEVICE=${BUILD_DEVICE:-true}
-SKIP_DOCS=${SKIP_DOCS:-false}
+BUILD_DOCS=${BUILD_DOCS:-true}
SYMBOLS=${SYMBOLS:-YES}
BUILDTYPE=${BUILDTYPE:-Debug}
@@ -271,7 +271,7 @@ sed -i '' \
"${README}"
cp ${README} "${OUTPUT}"
-if [ ${SKIP_DOCS} == false ]; then
+if [ ${BUILD_DOCS} == true ]; then
step "Generating API documentation for ${BUILDTYPE} Build…"
make idocument OUTPUT="${OUTPUT}/documentation"
fi