diff --git a/docs/markdown/Creating-Linux-binaries.md b/docs/markdown/Creating-Linux-binaries.md index 2d5da1cd8..29d68ec52 100644 --- a/docs/markdown/Creating-Linux-binaries.md +++ b/docs/markdown/Creating-Linux-binaries.md @@ -61,7 +61,7 @@ The aim is to put the executable in `/tmp/myapp/bin` and shared libraries to `/t Make the script run during install with this: ```meson -meson.set_install_script('linux_bundler.sh') +meson.add_install_script('linux_bundler.sh') ``` ## Final steps diff --git a/docs/markdown/Creating-OSX-packages.md b/docs/markdown/Creating-OSX-packages.md index a2b462a24..8faf568cf 100644 --- a/docs/markdown/Creating-OSX-packages.md +++ b/docs/markdown/Creating-OSX-packages.md @@ -56,7 +56,7 @@ If you are not using any external libraries, this is all you need to do. You now As an example we are going to use the [SDL2](https://libsdl.org/) framework. In order to bundle it in our app, we first specify an installer script to run. ```meson -meson.set_install_script('install_script.sh') +meson.add_install_script('install_script.sh') ``` The install script does two things. First it copies the whole framework into our bundle. diff --git a/docs/markdown/Installing.md b/docs/markdown/Installing.md index 37590c16c..40dcd8dcf 100644 --- a/docs/markdown/Installing.md +++ b/docs/markdown/Installing.md @@ -56,7 +56,7 @@ As you can see, Meson sets up some environment variables to help you write your Telling Meson to run this script at install time is a one-liner. ```meson -meson.set_install_script('myscript.sh') +meson.add_install_script('myscript.sh') ``` The argument is the name of the script file relative to the current subdirectory.