aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-12-29 11:00:13 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-12-29 13:39:16 -0800
commit2a6fe54ac308f4d5a84a3e73d14ffde7d7502ee3 (patch)
treedc5a71f3ec51407ed31c035b44e847512514e619 /scripts
parentd6ee2de78f0ff2e3105d551a6ee5c12c03b50686 (diff)
downloadsubsurface-2a6fe54ac308f4d5a84a3e73d14ffde7d7502ee3.tar.gz
build script: fix typos and inconsistencies
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
index fc7c62c7e..dafa1bb03 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -15,11 +15,12 @@
# ./subsurface/libdivecomputer/build (libdivecomputer build)
# ./subsurface/build (desktop build)
# ./subsurface/build-mobile (mobile build)
+# ./subsurface/build-downloader (headless downloader build)
#
# there is basic support for building from a shared directory, e.g., with
# one subsurface source tree on a host computer, accessed from multiple
# VMs as well as the host to build without stepping on each other - the
-# one exceptioin is running autotools for libdiveconputer which has to
+# one exception is running autotools for libdiveconputer which has to
# happen in the shared libdivecomputer folder
# one way to achieve this is to have ./subsurface be a symlink; in that
# case the build directories are libdivecomputer/build, build, build-mobile
@@ -71,7 +72,7 @@ while [[ $# -gt 0 ]] ; do
SRC_DIR="$1"
;;
-build-deps)
- # in order to build the dependencies on Mac for release builds (to deal with the macosx-version-min for those
+ # in order to build the dependencies on Mac for release builds (to deal with the macosx-version-min for those)
# call this script with -build-deps
BUILD_DEPS="1"
;;
@@ -101,7 +102,7 @@ while [[ $# -gt 0 ]] ; do
BUILD_DESKTOP="1"
;;
-downloader)
- # we are building Subsurface
+ # we are building Subsurface-downloader
BUILD_DOWNLOADER="1"
;;
-both)
@@ -110,7 +111,7 @@ while [[ $# -gt 0 ]] ; do
BUILD_DESKTOP="1"
;;
-all)
- # we are building Subsurface and Subsurface-mobile
+ # we are building Subsurface, Subsurface-mobile, and Subsurface-downloader
BUILD_MOBILE="1"
BUILD_DESKTOP="1"
BUILD_DOWNLOADER="1"
@@ -125,7 +126,7 @@ while [[ $# -gt 0 ]] ; do
;;
*)
echo "Unknown command line argument $arg"
- echo "Usage: build.sh [-no-bt] [-quick] [-build-deps] [-src-dir <SUBSURFACE directory>] [-build-prefix <PREFIX>] [-build-with-webkit] [-mobile] [-desktop] [-both] [-create-appdir] [-release]"
+ echo "Usage: build.sh [-no-bt] [-quick] [-build-deps] [-src-dir <SUBSURFACE directory>] [-build-prefix <PREFIX>] [-build-with-webkit] [-mobile] [-desktop] [-downloader] [-both] [-all] [-create-appdir] [-release]"
exit 1
;;
esac