From 9f6327c77a0392df97785cbe31eaa6fcaf2c6851 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Fri, 24 Feb 2023 15:18:47 -0500 Subject: [PATCH] docs: fix bad advice to use python module to find python --- docs/markdown/Generating-sources.md | 4 ++-- 1 file 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]',