meson build: use index_html target name for README file generation
authorJohn Marshall <jtm.home@gmail.com>
Fri, 29 Mar 2019 09:12:24 +0000 (09:12 +0000)
committerØyvind Kolås <pippin@gimp.org>
Sat, 25 May 2019 16:13:31 +0000 (18:13 +0200)
meson.build

index fe8511de85b5e83ac6f176be072b8291a7a31d3a..ab28dfdf7f7b378d4e01545d1a0d81e3c2eb8b6a 100644 (file)
@@ -371,7 +371,7 @@ endif
 
 if w3m_bin.found() and build_docs
   custom_target('README',
-    input : [ join_paths('docs', 'index.html'), ] ,
+    input: index_html,
     output: [ 'README' ] ,
     command: [
       w3m_bin,