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