Skip to content

Commit

Permalink
Use subdirs for 'py_sources_dir' too
Browse files Browse the repository at this point in the history
If you explicitly specify the 'py_sources_dir' option, the howdy and
howdy-gtk source files get mixed up, fixed that.
  • Loading branch information
Gliese852 committed Sep 22, 2023
1 parent 95df4d2 commit 47e5a3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion howdy-gtk/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion howdy/src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 47e5a3b

Please sign in to comment.