docs: fixed meson syntax for Generating-sources.md

Signed-off-by: Marty Plummer <ntzrmtthihu777@gmail.com>
pull/2060/head
Marty Plummer 7 years ago committed by Jussi Pakkanen
parent 0283a2fb41
commit cb05b2aab0
  1. 4
      docs/markdown/Generating-sources.md

@ -24,8 +24,8 @@ Custom targets can take zero or more input files and use them to generate one or
```meson
gen_src = custom_target('gen-output',
input : ['somefile1.c', 'file2.c']
output : ['out.c', 'out.h']
input : ['somefile1.c', 'file2.c'],
output : ['out.c', 'out.h'],
command : [mycomp, '@INPUT@',
'--c-out', '@OUTPUT0@',
'--h-out', '@OUTPUT1@'])

Loading…
Cancel
Save