aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
authorErnestas Kulik <ernestas.kulik@gmail.com>2017-05-01 18:54:58 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2017-05-01 19:15:35 +0300
commit1c8ac8fd6de5e3ac7095dcca4e7f3cb5736e7198 (patch)
tree2652fca11ab2afbc29b0aeab475a1451981e6023 /docs/markdown
parent5d24d16abd6120b4550f82f35d0dddc36b3b604c (diff)
downloadmeson-1c8ac8fd6de5e3ac7095dcca4e7f3cb5736e7198.zip
meson-1c8ac8fd6de5e3ac7095dcca4e7f3cb5736e7198.tar.gz
meson-1c8ac8fd6de5e3ac7095dcca4e7f3cb5736e7198.tar.bz2
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>
Diffstat (limited to 'docs/markdown')
-rw-r--r--docs/markdown/Creating-Linux-binaries.md2
-rw-r--r--docs/markdown/Creating-OSX-packages.md2
-rw-r--r--docs/markdown/Installing.md2
3 files changed, 3 insertions, 3 deletions
diff --git a/docs/markdown/Creating-Linux-binaries.md b/docs/markdown/Creating-Linux-binaries.md
index 2d5da1c..29d68ec 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 a2b462a..8faf568 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 37590c1..40dcd8d 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.