docs: replace occurences of set_install_script()

The method has been replaced with add_install_script().

Signed-off-by: Ernestas Kulik <ernestas.kulik@gmail.com>
pull/1711/head
Ernestas Kulik 8 years ago committed by Jussi Pakkanen
parent 5d24d16abd
commit 1c8ac8fd6d
  1. 2
      docs/markdown/Creating-Linux-binaries.md
  2. 2
      docs/markdown/Creating-OSX-packages.md
  3. 2
      docs/markdown/Installing.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: Make the script run during install with this:
```meson ```meson
meson.set_install_script('linux_bundler.sh') meson.add_install_script('linux_bundler.sh')
``` ```
## Final steps ## Final steps

@ -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. 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
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. The install script does two things. First it copies the whole framework into our bundle.

@ -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. Telling Meson to run this script at install time is a one-liner.
```meson ```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. The argument is the name of the script file relative to the current subdirectory.

Loading…
Cancel
Save