Add font licenses to installation files

So now release archive will have this files included.
This commit is contained in:
Sergey Sharybin 2013-09-25 08:35:43 +00:00
parent 8c7eb60ba0
commit 8917e63134
2 changed files with 13 additions and 0 deletions

@ -906,6 +906,11 @@ for tp, tn, tf in os.walk('release/text'):
for f in tf:
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)
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/copyright.txt
${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