aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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]',