diff options
| author | Eli Schwartz <eschwartz@archlinux.org> | 2023-02-24 15:18:47 -0500 |
|---|---|---|
| committer | Xavier Claessens <xclaesse@gmail.com> | 2023-02-24 20:45:00 -0500 |
| commit | 9f6327c77a0392df97785cbe31eaa6fcaf2c6851 (patch) | |
| tree | e6a2e64d9fcf33c6bf2a18d2005647d64a7db22c /docs | |
| parent | cf07596cf6bc280dac0afff505147ca626c79453 (diff) | |
| download | meson-9f6327c77a0392df97785cbe31eaa6fcaf2c6851.tar.gz | |
docs: fix bad advice to use python module to find python
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/markdown/Generating-sources.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/markdown/Generating-sources.md b/docs/markdown/Generating-sources.md index b954a415f..91e0930b9 100644 --- a/docs/markdown/Generating-sources.md +++ b/docs/markdown/Generating-sources.md @@ -53,7 +53,7 @@ is generated and that the proper include paths are created for the target: ```meson -prog_python = import('python').find_installation('python3') +prog_python = [[#find_program]]('python3') foo_c = custom_target( 'foo.c', @@ -89,7 +89,7 @@ get each output file separately. The order is the same as the order of the output argument to `custom_target` ```meson -prog_python = import('python').find_installation('python3') +prog_python = [[#find_program]]('python3') foo_ch = custom_target( 'foo.[ch]', |
