summaryrefslogtreecommitdiff
path: root/src/apps/qcam/assets/feathericons/rotate-ccw.svg
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-08-08 17:30:35 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-08-16 00:00:23 +0300
commita5f12d2eb35a2fa57a4383869b5e616c3ce1e2ae (patch)
tree4b2815368bddf7803d596de2e85064ae89e72c64 /src/apps/qcam/assets/feathericons/rotate-ccw.svg
parent50c92cc7e2924009ecab3e4004448b01d687707c (diff)
meson: utils: Provide environment for Python scripts
Python scripts run as part of the build process need to take a few actions specific to the environment in which they operate. One of those is disabling the Python bytecode cache, to avoid writing .pyc files to the source tree. This is done manually in the IPC generate.py and parser.py scripts. The current implementation is not ideal because it hardcodes in the scripts information related to the envirdoc_install_dir = join_paths(get_option('datadir'), 'doc', 'libcamera-@0@'.format(libcamera_version)) # # Doxygen # doxygen = find_program('doxygen', required : false) if doxygen.found() cdata = configuration_data() cdata.set('VERSION', 'v@0@'.format(libcamera_git_version)) cdata.set('TOP_SRCDIR', meson.source_root()) cdata.set('TOP_BUILDDIR', meson.build_root()) doxyfile = configure_file(input : 'Doxyfile.in', output : 'Doxyfile', configuration : cdata) custom_target('doxygen', input : [ doxyfile, libcamera_api, libcamera_ipa_api, libcamera_headers, libcamera_sources, libipa_headers, libipa_sources, ], output : 'api-html', command : [doxygen, doxyfile], install : true, install_dir : do0 files changed, 0 insertions, 0 deletions
s;contributing.rst', 'docs.rst', 'index.rst', ] release = 'release=v' + libcamera_git_version custom_target('documentation', command : [sphinx, '-D', release, '-q', '-W', '-b', 'html', meson.current_source_dir(), '@OUTPUT@'], input : docs_sources, output : 'html', build_by_default : true, install : true, install_dir : doc_install_dir) custom_target('documentation-linkcheck', command: [sphinx, '-W', '-b', 'linkcheck', meson.current_source_dir(), '@OUTPUT@'], build_always_stale: true, input: docs_sources, output: 'linkcheck') endif