Updates to meson.build.
This commit is contained in:
@@ -86,8 +86,16 @@ cthulhu_python_sources = files([
|
||||
'where_am_i_presenter.py',
|
||||
])
|
||||
|
||||
# Generated Python sources
|
||||
configure_file(
|
||||
# Note: Main executable (cthulhu) is installed from src/cthulhu.py
|
||||
|
||||
# Install Python sources
|
||||
python3.install_sources(
|
||||
cthulhu_python_sources,
|
||||
subdir: 'cthulhu'
|
||||
)
|
||||
|
||||
# Install generated Python sources
|
||||
cthulhu_bin_py = configure_file(
|
||||
input: 'cthulhu_bin.py.in',
|
||||
output: 'cthulhu_bin.py',
|
||||
configuration: {
|
||||
@@ -102,7 +110,7 @@ configure_file(
|
||||
}
|
||||
)
|
||||
|
||||
configure_file(
|
||||
cthulhu_i18n_py = configure_file(
|
||||
input: 'cthulhu_i18n.py.in',
|
||||
output: 'cthulhu_i18n.py',
|
||||
configuration: {
|
||||
@@ -113,7 +121,7 @@ configure_file(
|
||||
}
|
||||
)
|
||||
|
||||
configure_file(
|
||||
cthulhu_platform_py = configure_file(
|
||||
input: 'cthulhu_platform.py.in',
|
||||
output: 'cthulhu_platform.py',
|
||||
configuration: {
|
||||
@@ -129,17 +137,8 @@ configure_file(
|
||||
}
|
||||
)
|
||||
|
||||
# Note: Main executable (cthulhu) is installed from src/cthulhu.py
|
||||
|
||||
# Install Python sources
|
||||
python3.install_sources(
|
||||
cthulhu_python_sources,
|
||||
subdir: 'cthulhu'
|
||||
)
|
||||
|
||||
# Install generated Python sources
|
||||
python3.install_sources(
|
||||
['cthulhu_bin.py', 'cthulhu_i18n.py', 'cthulhu_platform.py'],
|
||||
[cthulhu_bin_py, cthulhu_i18n_py, cthulhu_platform_py],
|
||||
subdir: 'cthulhu'
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user