File indexing completed on 2024-04-21 14:43:26
0001 #!/bin/bash 0002 #============================================================================= 0003 # SPDX-FileCopyrightText: 2016 Bruno Coudoin <bruno.coudoin@gcompris.net> 0004 # 0005 # SPDX-License-Identifier: GPL-3.0-or-later 0006 #============================================================================= 0007 # 0008 # Before making a Windows build we must provide the converted mp3 0009 # and the qm files because this is too annoying to create them on 0010 # windows. 0011 0012 if [ ! -f CMakeLists.txt ] 0013 then 0014 echo "ERROR: Run me from the top level project dir" 0015 exit 1 0016 fi 0017 mkdir -p build 0018 cd build 0019 cmake -D COMPRESSED_AUDIO=mp3 .. 0020 make createMp3FromOgg 0021 make BundleConvertedOggs 0022 make BuildTranslations 0023 make BundleTranslations 0024 #rsync -a ../converted_ogg_to_mp3-*.7z translations-*.7z gcompris.net:/var/www/download 0025 0026 # 0027 # Then on Windows use the targets: 0028 # 0029 # DlAndInstallBundledTranslations 0030 # DlAndInstallBundledConvertedOggs 0031 #