Added a missing closing parenthesis in the last example

There was a missing parenthesis at the end of the last example.
pull/2074/head
Alexis Jeandet 7 years ago committed by Jussi Pakkanen
parent f77c3176ab
commit 361b09c491
  1. 2
      docs/markdown/Generating-sources.md

@ -68,7 +68,7 @@ Generators can also generate multiple output files with unknown names:
```meson
gen2 = generator(someprog,
outputs : ['@BASENAME@.c', '@BASENAME@.h'],
arguments : ['--out_dir=@BUILD_DIR@', '@INPUT@']
arguments : ['--out_dir=@BUILD_DIR@', '@INPUT@'])
```
In this case you can not use the plain `@OUTPUT@` variable, as it would be ambiguous. This program only needs to know the output directory, it will generate the file names by itself.

Loading…
Cancel
Save