docs: fix bad advice to use python module to find python

pull/11461/head
Eli Schwartz 2 years ago committed by Xavier Claessens
parent cf07596cf6
commit 9f6327c77a
  1. 4
      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]',

Loading…
Cancel
Save