0
0
Fork 0
mirror of https://github.com/boltgolt/howdy.git synced 2024-09-12 09:41:18 +02:00

Use subdirs for 'py_sources_dir' too

If you explicitly specify the 'py_sources_dir' option, the howdy and
howdy-gtk source files get mixed up, fixed that.
This commit is contained in:
Anton Golubev 2023-09-22 17:53:00 +03:00
parent 95df4d2d48
commit 47e5a3bdac
No known key found for this signature in database
GPG key ID: F5397AE7206DF509
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ py.dependency()
if get_option('install_in_site_packages')
pysourcesinstalldir = join_paths(py.get_install_dir(), 'howdy-gtk')
else
pysourcesinstalldir = get_option('py_sources_dir') != '' ? get_option('py_sources_dir') : join_paths(get_option('prefix'), get_option('libdir'), 'howdy-gtk')
pysourcesinstalldir = get_option('py_sources_dir') != '' ? get_option('py_sources_dir') / 'howdy-gtk' : join_paths(get_option('prefix'), get_option('libdir'), 'howdy-gtk')
endif
if get_option('install_in_site_packages')

View file

@ -46,7 +46,7 @@ py_sources = [
if get_option('install_in_site_packages')
pysourcesinstalldir = join_paths(py.get_install_dir(), 'howdy')
else
pysourcesinstalldir = get_option('py_sources_dir') != '' ? get_option('py_sources_dir') : join_paths(get_option('prefix'), get_option('libdir'), 'howdy')
pysourcesinstalldir = get_option('py_sources_dir') != '' ? get_option('py_sources_dir') / 'howdy' : join_paths(get_option('prefix'), get_option('libdir'), 'howdy')
endif
pam_module_conf_data = configuration_data(paths_dict)