diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2017-05-04 17:53:04 +1000 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-05-04 22:09:27 +0300 |
commit | ca924451ac257d4b410d5da33d9354d195490237 (patch) | |
tree | e4ce98c8f8ba4a9b0cc00ebdf98de8672be82de5 /docs/markdown | |
parent | fe85721e7e97260b24da3911b4265535116b55cd (diff) | |
download | meson-ca924451ac257d4b410d5da33d9354d195490237.zip meson-ca924451ac257d4b410d5da33d9354d195490237.tar.gz meson-ca924451ac257d4b410d5da33d9354d195490237.tar.bz2 |
Use American English: behaviour -> behavior
Diffstat (limited to 'docs/markdown')
-rw-r--r-- | docs/markdown/Installing.md | 2 | ||||
-rw-r--r-- | docs/markdown/Reference-manual.md | 10 | ||||
-rw-r--r-- | docs/markdown/Release-notes-for-0.40.0.md | 2 | ||||
-rw-r--r-- | docs/markdown/Unit-tests.md | 2 | ||||
-rw-r--r-- | docs/markdown/howtox.md | 2 |
5 files changed, 9 insertions, 9 deletions
diff --git a/docs/markdown/Installing.md b/docs/markdown/Installing.md index f186889..3454d49 100644 --- a/docs/markdown/Installing.md +++ b/docs/markdown/Installing.md @@ -44,7 +44,7 @@ giving an absolute install path. install_data(sources : 'foo.dat', install_dir : '/etc') # -> /etc/foo.dat ``` -## Custom install behaviour ## +## Custom install behavior ## Sometimes you need to do more than just install basic targets. Meson makes this easy by allowing you to specify a custom script to execute at install time. As an example, here is a script that generates an empty file in a custom directory. diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index c9b9f13..116fd58 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -83,7 +83,7 @@ Note that all these options are also available while running the `mesontest` scr void benchmark(name, executable, ...) ``` -Creates a benchmark item that will be run when the benchmark target is run. The behaviour of this function is identical to `test` with the exception that there is no `is_parallel` keyword, because benchmarks are never run in parallel. +Creates a benchmark item that will be run when the benchmark target is run. The behavior of this function is identical to `test` with the exception that there is no `is_parallel` keyword, because benchmarks are never run in parallel. ### build_target() @@ -152,7 +152,7 @@ Create a custom top level build target. The only positional argument is the name The list of strings passed to the `command` keyword argument accept the following special string substitutions: - `@INPUT@` the full path to the input passed to `input`. If more than one input is specified, all of them will be substituted as separate arguments only if the command uses `'@INPUT@'` as a standalone-argument. For instance, this would not work: `command : ['cp', './@INPUT@']`, but this would: `command : ['cp', '@INPUT@']`. -- `@OUTPUT@` the full path to the output passed to `output`. If more than one outputs are specified, the behaviour is the same as `@INPUT@`. +- `@OUTPUT@` the full path to the output passed to `output`. If more than one outputs are specified, the behavior is the same as `@INPUT@`. - `@INPUT0@` `@INPUT1@` `...` the full path to the input with the specified array index in `input` - `@OUTPUT0@` `@OUTPUT1@` `...` the full path to the output with the specified array index in `output` - `@OUTDIR@` the full path to the directory where the output(s) must be written @@ -224,7 +224,7 @@ Creates a new executable. The first argument specifies its name and the remainin These input files can be sources, objects, libraries, or any other file. Meson will automatically categorize them based on the extension and use them accordingly. For instance, sources (`.c`, `.cpp`, `.vala`, `.rs`, etc) will be compiled, objects (`.o`, `.obj`) and libraries (`.so`, `.dll`, etc) will be linked, and all other files (headers, unknown extensions, etc) will be ignored. -With the Ninja backend, Meson will create a build-time [order-only dependency](https://ninja-build.org/manual.html#ref_dependencies) on all generated input files, including unknown files. For all input files (generated and non-generated), Meson uses the [dependency file](https://ninja-build.org/manual.html#ref_headers) generated by your compiler to determine when to rebuild sources. The behaviour is similar for other backends. +With the Ninja backend, Meson will create a build-time [order-only dependency](https://ninja-build.org/manual.html#ref_dependencies) on all generated input files, including unknown files. For all input files (generated and non-generated), Meson uses the [dependency file](https://ninja-build.org/manual.html#ref_headers) generated by your compiler to determine when to rebuild sources. The behavior is similar for other backends. Executable supports the following keyword arguments. Note that just like the positional arguments above, these keyword arguments can also be passed to [shared and static libraries](#library). @@ -458,7 +458,7 @@ Installs the specified man files from the source tree into system's man director void install_subdir(subdir_name) ``` -Installs the entire given subdirectory and its contents from the source tree to the location specified by the keyword argument `install_dir`. Note that due to implementation issues this command deletes the entire target dir before copying the files, so you should never use `install_subdir` to install into two overlapping directories (such as `foo` and `foo/bar`) because if you do the behaviour is undefined. +Installs the entire given subdirectory and its contents from the source tree to the location specified by the keyword argument `install_dir`. Note that due to implementation issues this command deletes the entire target dir before copying the files, so you should never use `install_subdir` to install into two overlapping directories (such as `foo` and `foo/bar`) because if you do the behavior is undefined. ### is_variable() @@ -641,7 +641,7 @@ This command detects revision control commit information at build time and place - `output` file to write the results to (e.g. `version.c`) - `fallback` version number to use when no revision control information is present, such as when building from a release tarball -Meson will read the contents of `input`, replace the string `@VCS_TAG@` with the detected revision number and write the result to `output`. This method returns an opaque [`custom_target`](#custom_target) object that you should put in your main program. If you desire more specific behaviour than what this command provides, you should use `custom_target`. +Meson will read the contents of `input`, replace the string `@VCS_TAG@` with the detected revision number and write the result to `output`. This method returns an opaque [`custom_target`](#custom_target) object that you should put in your main program. If you desire more specific behavior than what this command provides, you should use `custom_target`. ## Built-in objects diff --git a/docs/markdown/Release-notes-for-0.40.0.md b/docs/markdown/Release-notes-for-0.40.0.md index 1aa668f..a480788 100644 --- a/docs/markdown/Release-notes-for-0.40.0.md +++ b/docs/markdown/Release-notes-for-0.40.0.md @@ -87,7 +87,7 @@ qt5_dep = dependency('qt5', modules : 'core', method : 'qmake') ## Link whole contents of static libraries -The default behaviour of static libraries is to discard all symbols that are not not directly referenced. This may lead to exported symbols being lost. Most compilers support "whole archive" linking that includes all symbols and code of a given static library. This is exposed with the `link_whole` keyword. +The default behavior of static libraries is to discard all symbols that are not not directly referenced. This may lead to exported symbols being lost. Most compilers support "whole archive" linking that includes all symbols and code of a given static library. This is exposed with the `link_whole` keyword. ```meson shared_library('foo', 'foo.c', link_whole : some_static_library) diff --git a/docs/markdown/Unit-tests.md b/docs/markdown/Unit-tests.md index b94cd84..1aa7806 100644 --- a/docs/markdown/Unit-tests.md +++ b/docs/markdown/Unit-tests.md @@ -53,7 +53,7 @@ $ MESON_TESTTHREADS=5 ninja test ## Skipped tests -Sometimes a test can only determine at runtime that it can not be run. The GNU standard approach in this case is to exit the program with error code 77. Meson will detect this and report these tests as skipped rather than failed. This behaviour was added in version 0.37.0. +Sometimes a test can only determine at runtime that it can not be run. The GNU standard approach in this case is to exit the program with error code 77. Meson will detect this and report these tests as skipped rather than failed. This behavior was added in version 0.37.0. ## Testing tool diff --git a/docs/markdown/howtox.md b/docs/markdown/howtox.md index 2e43276..bc83332 100644 --- a/docs/markdown/howtox.md +++ b/docs/markdown/howtox.md @@ -28,7 +28,7 @@ executable(..., dependencies : thread_dep) ## Set extra compiler and linker flags from the outside (when e.g. building distro packages) -The behaviour is the same as with other build systems, with environment variables during first invocation. +The behavior is the same as with other build systems, with environment variables during first invocation. ```console $ CFLAGS=-fsomething LDFLAGS=-Wl,--linker-flag meson <options> |