aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
authoradamjalkemo <adam@jalkemo.se>2020-02-22 09:37:56 +0100
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2020-02-23 05:03:23 +0530
commit00c9a7a43060c215ebd3fe6e15233cd8ebc90bc7 (patch)
tree6c661b4d5a44d7889b00919b063551a9b8c2a3a1 /docs/markdown
parentbe9bff81a2adb9b6b30eb1ea0fe6e849129a4eb8 (diff)
downloadmeson-00c9a7a43060c215ebd3fe6e15233cd8ebc90bc7.zip
meson-00c9a7a43060c215ebd3fe6e15233cd8ebc90bc7.tar.gz
meson-00c9a7a43060c215ebd3fe6e15233cd8ebc90bc7.tar.bz2
Update Custom-build-targets.md
Use the declared variables infile and outfile
Diffstat (limited to 'docs/markdown')
-rw-r--r--docs/markdown/Custom-build-targets.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/markdown/Custom-build-targets.md b/docs/markdown/Custom-build-targets.md
index 9a0f2a1..f0b50d8 100644
--- a/docs/markdown/Custom-build-targets.md
+++ b/docs/markdown/Custom-build-targets.md
@@ -16,8 +16,8 @@ infile = 'source_code.txt'
outfile = 'output.bin'
mytarget = custom_target('targetname',
- output : 'output.bin',
- input : 'source_code.txt',
+ output : outfile,
+ input : infile,
command : [comp, '@INPUT@', '@OUTPUT@'],
install : true,
install_dir : 'subdir')