aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2023-02-24 15:18:47 -0500
committerXavier Claessens <xclaesse@gmail.com>2023-02-24 20:45:00 -0500
commit9f6327c77a0392df97785cbe31eaa6fcaf2c6851 (patch)
treee6a2e64d9fcf33c6bf2a18d2005647d64a7db22c /docs
parentcf07596cf6bc280dac0afff505147ca626c79453 (diff)
downloadmeson-9f6327c77a0392df97785cbe31eaa6fcaf2c6851.zip
meson-9f6327c77a0392df97785cbe31eaa6fcaf2c6851.tar.gz
meson-9f6327c77a0392df97785cbe31eaa6fcaf2c6851.tar.bz2
docs: fix bad advice to use python module to find python
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/Generating-sources.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/markdown/Generating-sources.md b/docs/markdown/Generating-sources.md
index b954a41..91e0930 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]',