meson: exclude rst files from being installed with the scripts

and add them nicely to the sphinx_files without referencing '..' paths
This commit is contained in:
George Kiagiadakis
2023-12-13 16:31:50 +02:00
parent ca3bc3eb6d
commit c4a0f5317e
4 changed files with 14 additions and 4 deletions

View File

@@ -2,9 +2,6 @@
sphinx_files += files(
'existing_scripts.rst',
'default_nodes.rst',
meson.current_source_dir()/'..'/'..'/'..'/'src'/'scripts'/'default-nodes'/'README.rst',
'device.rst',
meson.current_source_dir()/'..'/'..'/'..'/'src'/'scripts'/'device'/'README.rst',
'linking.rst',
meson.current_source_dir()/'..'/'..'/'..'/'src'/'scripts'/'linking'/'README.rst',
)