]> www.infradead.org Git - users/sagi/libnvme.git/commitdiff
doc: Use correct variable in configure_file input
authorJeremy Kerr <jk@codeconstruct.com.au>
Thu, 14 Jul 2022 10:18:54 +0000 (18:18 +0800)
committerJeremy Kerr <jk@codeconstruct.com.au>
Thu, 14 Jul 2022 10:18:54 +0000 (18:18 +0800)
In e33cc17 we removed an inner loop on the result of files(), but didn't
update the local variable to suit.

This change uses the correct iterator variable for the configure_file()
invocation.

Reported-by: Daniel Wagner <dwagner@suse.de>
Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
doc/meson.build

index e7ffddb6d4bed7b1a07002eb5a9ddf2cbc36f941..cd31f4624c367365c74313dc4f0bfb92bffc2619 100644 (file)
@@ -62,7 +62,7 @@ if want_docs != 'false'
     if want_docs_build
       foreach apif : api_paths
         subst = configure_file(
-            input: file,
+            input: apif,
             output: '@BASENAME@.subst',
             configuration: conf)
         c = run_command(list_man_pages, subst)