mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	android: Copy android files to the expected name
android-mobile nowadays hardcoded in CMakeLists.txt, so workaround it here. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									38474f2d47
								
							
						
					
					
						commit
						ca1349241b
					
				
					 1 changed files with 4 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -351,9 +351,10 @@ if [ ! -z "$SUBSURFACE_MOBILE" ] ; then
 | 
			
		|||
else
 | 
			
		||||
	SUBSURFACE_VERSION=$(grep CANONICAL_VERSION_STRING ssrf-version.h | awk '{ print $3 }' | tr -d \")
 | 
			
		||||
 | 
			
		||||
	rm -rf android
 | 
			
		||||
	cp -a $SUBSURFACE_SOURCE/android .
 | 
			
		||||
	sed -i -e "s/@SUBSURFACE_VERSION@/\"$SUBSURFACE_VERSION\"/;s/@BUILD_NR@/$BUILD_NR/" android/AndroidManifest.xml
 | 
			
		||||
	# android-mobile is hardcoded in CMakeLists.txt nowadays.
 | 
			
		||||
	rm -rf android-mobile
 | 
			
		||||
	cp -a $SUBSURFACE_SOURCE/android android-mobile
 | 
			
		||||
	sed -i -e "s/@SUBSURFACE_VERSION@/\"$SUBSURFACE_VERSION\"/;s/@BUILD_NR@/$BUILD_NR/" android-mobile/AndroidManifest.xml
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# now make the translations
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue