mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	build script: fix typos and inconsistencies
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									d6ee2de78f
								
							
						
					
					
						commit
						2a6fe54ac3
					
				
					 1 changed files with 6 additions and 5 deletions
				
			
		| 
						 | 
					@ -15,11 +15,12 @@
 | 
				
			||||||
# ./subsurface/libdivecomputer/build (libdivecomputer build)
 | 
					# ./subsurface/libdivecomputer/build (libdivecomputer build)
 | 
				
			||||||
# ./subsurface/build                  (desktop build)
 | 
					# ./subsurface/build                  (desktop build)
 | 
				
			||||||
# ./subsurface/build-mobile           (mobile 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
 | 
					# there is basic support for building from a shared directory, e.g., with
 | 
				
			||||||
# one subsurface source tree on a host computer, accessed from multiple
 | 
					# 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
 | 
					# 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
 | 
					# happen in the shared libdivecomputer folder
 | 
				
			||||||
# one way to achieve this is to have ./subsurface be a symlink; in that
 | 
					# one way to achieve this is to have ./subsurface be a symlink; in that
 | 
				
			||||||
# case the build directories are libdivecomputer/build, build, build-mobile
 | 
					# case the build directories are libdivecomputer/build, build, build-mobile
 | 
				
			||||||
| 
						 | 
					@ -71,7 +72,7 @@ while [[ $# -gt 0 ]] ; do
 | 
				
			||||||
			SRC_DIR="$1"
 | 
								SRC_DIR="$1"
 | 
				
			||||||
			;;			
 | 
								;;			
 | 
				
			||||||
		-build-deps)
 | 
							-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
 | 
								# call this script with -build-deps
 | 
				
			||||||
			BUILD_DEPS="1"
 | 
								BUILD_DEPS="1"
 | 
				
			||||||
			;;
 | 
								;;
 | 
				
			||||||
| 
						 | 
					@ -101,7 +102,7 @@ while [[ $# -gt 0 ]] ; do
 | 
				
			||||||
			BUILD_DESKTOP="1"
 | 
								BUILD_DESKTOP="1"
 | 
				
			||||||
			;;
 | 
								;;
 | 
				
			||||||
		-downloader)
 | 
							-downloader)
 | 
				
			||||||
			# we are building Subsurface
 | 
								# we are building Subsurface-downloader
 | 
				
			||||||
			BUILD_DOWNLOADER="1"
 | 
								BUILD_DOWNLOADER="1"
 | 
				
			||||||
			;;
 | 
								;;
 | 
				
			||||||
		-both)
 | 
							-both)
 | 
				
			||||||
| 
						 | 
					@ -110,7 +111,7 @@ while [[ $# -gt 0 ]] ; do
 | 
				
			||||||
			BUILD_DESKTOP="1"
 | 
								BUILD_DESKTOP="1"
 | 
				
			||||||
			;;
 | 
								;;
 | 
				
			||||||
		-all)
 | 
							-all)
 | 
				
			||||||
			# we are building Subsurface and Subsurface-mobile
 | 
								# we are building Subsurface, Subsurface-mobile, and Subsurface-downloader
 | 
				
			||||||
			BUILD_MOBILE="1"
 | 
								BUILD_MOBILE="1"
 | 
				
			||||||
			BUILD_DESKTOP="1"
 | 
								BUILD_DESKTOP="1"
 | 
				
			||||||
			BUILD_DOWNLOADER="1"
 | 
								BUILD_DOWNLOADER="1"
 | 
				
			||||||
| 
						 | 
					@ -125,7 +126,7 @@ while [[ $# -gt 0 ]] ; do
 | 
				
			||||||
			;;
 | 
								;;
 | 
				
			||||||
		*)
 | 
							*)
 | 
				
			||||||
			echo "Unknown command line argument $arg"
 | 
								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
 | 
								exit 1
 | 
				
			||||||
			;;
 | 
								;;
 | 
				
			||||||
	esac
 | 
						esac
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue