Merge pull request #195 from kapsh/scripts_bindir

build: install scripts into bindir provided by meson
This commit is contained in:
yshui 2019-06-24 11:20:44 +01:00 committed by GitHub
commit 387e247bcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -66,7 +66,8 @@ test_h_dep = subproject('test.h').get_variable('test_h_dep')
subdir('src')
subdir('man')
install_subdir('bin', install_dir: '')
install_data(['bin/compton-convgen.py', 'bin/compton-trans'],
install_dir: get_option('bindir'))
install_data('compton.desktop', install_dir: 'share/applications')
install_data('media/icons/48x48/compton.png',
install_dir: 'share/icons/hicolor/48x48/apps')