build system: don't include src/{tools,scripts} in $all_sources

Otherwise those directories will be searched for strings to translate,
too, and that's currently not desired.
This commit is contained in:
Moritz Bunkus 2015-04-01 09:14:23 +02:00
parent 8a50996392
commit be197f383f

View File

@ -63,7 +63,7 @@ def setup_globals
end
$source_directories = %w{lib/avilib-0.6.10 lib/librmff src}
$source_directories = %w{lib/avilib-0.6.10 lib/librmff src/common src/extract src/info src/input src/merge src/mkvtoolnix-gui src/mmg src/mpegparser src/output src/propedit}
$all_sources = $source_directories.collect { |dir| FileList[ "#{dir}/**/*.c", "#{dir}/**/*.cpp" ].to_a }.flatten.sort
$all_headers = $source_directories.collect { |dir| FileList[ "#{dir}/**/*.h", ].to_a }.flatten.sort
$all_objects = $all_sources.collect { |file| file.ext('o') }