Add font licenses to installation files
So now release archive will have this files included.
This commit is contained in:
		| @@ -906,6 +906,11 @@ for tp, tn, tf in os.walk('release/text'): | |||||||
|     for f in tf: |     for f in tf: | ||||||
|         textlist.append(tp+os.sep+f) |         textlist.append(tp+os.sep+f) | ||||||
|  |  | ||||||
|  | # Font licenses | ||||||
|  | textlist += ['release/datafiles/LICENSE-bfont.ttf.txt', 'release/datafiles/LICENSE-bmonofont-i18n.ttf.txt'] | ||||||
|  | if env['WITH_BF_INTERNATIONAL']: | ||||||
|  |     textlist.append('release/datafiles/LICENSE-droidsans.ttf.txt') | ||||||
|  |  | ||||||
| textinstall = env.Install(dir=env['BF_INSTALLDIR'], source=textlist) | textinstall = env.Install(dir=env['BF_INSTALLDIR'], source=textlist) | ||||||
|  |  | ||||||
| if  env['OURPLATFORM']=='darwin': | if  env['OURPLATFORM']=='darwin': | ||||||
|   | |||||||
| @@ -234,8 +234,16 @@ set(BLENDER_TEXT_FILES | |||||||
| 	${CMAKE_SOURCE_DIR}/release/text/Python-license.txt | 	${CMAKE_SOURCE_DIR}/release/text/Python-license.txt | ||||||
| 	${CMAKE_SOURCE_DIR}/release/text/copyright.txt | 	${CMAKE_SOURCE_DIR}/release/text/copyright.txt | ||||||
| 	${CMAKE_SOURCE_DIR}/release/text/readme.html | 	${CMAKE_SOURCE_DIR}/release/text/readme.html | ||||||
|  | 	${CMAKE_SOURCE_DIR}/release/datafiles/LICENSE-bfont.ttf.txt | ||||||
|  | 	${CMAKE_SOURCE_DIR}/release/datafiles/LICENSE-bmonofont-i18n.ttf.txt | ||||||
| ) | ) | ||||||
|  |  | ||||||
|  | if(WITH_INTERNATIONAL) | ||||||
|  | 	list(APPEND BLENDER_TEXT_FILES | ||||||
|  | 		${CMAKE_SOURCE_DIR}/release/datafiles/LICENSE-droidsans.ttf.txt | ||||||
|  | 	) | ||||||
|  | endif() | ||||||
|  |  | ||||||
|  |  | ||||||
| # ----------------------------------------------------------------------------- | # ----------------------------------------------------------------------------- | ||||||
| # Platform Specific Var: TARGETDIR_VER | # Platform Specific Var: TARGETDIR_VER | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user