mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-02-26 08:22:31 +00:00
Fix icon installation directory
This commit is contained in:
parent
ae28c298bd
commit
ef33f4c603
5
Rakefile
5
Rakefile
@ -471,8 +471,9 @@ namespace :install do
|
||||
dirs_to_install = FileList[ "#{$top_srcdir}/share/icons/*" ].select { |dir| wanted_dirs[ dir.gsub(/.*icons\//, '').gsub(/\/.*/, '') ] }.sort.uniq
|
||||
|
||||
dirs_to_install.each do |dir|
|
||||
install_dir "#{c(:icondir)}/#{dir}/apps"
|
||||
install_data "#{c(:icondir)}/#{dir}/apps/", FileList[ "#{dir}/*" ].to_a.select { |file| wanted_apps[ file.gsub(/.*\//, '') ] }
|
||||
dest_dir = "#{c(:icondir)}/#{dir.gsub(/.*icons\//, '')}/apps"
|
||||
install_dir dest_dir
|
||||
install_data "#{dest_dir}/", FileList[ "#{dir}/*" ].to_a.select { |file| wanted_apps[ file.gsub(/.*\//, '') ] }
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user