[gegl] docs: index.txt does not need to be configured



commit 5a51eabf4873c58dd3c91248771439d8bf84a9e0
Author: John <jtm home gmail com>
Date:   Tue Jul 14 20:54:58 2020 +0100

    docs: index.txt does not need to be configured

 docs/{index.txt.in => index.txt} |  0
 docs/meson.build                 | 24 ++++++++++--------------
 2 files changed, 10 insertions(+), 14 deletions(-)
---
diff --git a/docs/index.txt.in b/docs/index.txt
similarity index 100%
rename from docs/index.txt.in
rename to docs/index.txt
diff --git a/docs/meson.build b/docs/meson.build
index fc37362e9..ce8e68ec5 100644
--- a/docs/meson.build
+++ b/docs/meson.build
@@ -49,7 +49,7 @@ asciidoc_files = files(
 asciidoc_files += [
   configure_file(
     input : 'hello-world.txt.in',
-    output: 'hello-world.txt',
+    output: '@PLAINNAME@',
     configuration: asciidoc_config,
   ),
 ]
@@ -80,19 +80,8 @@ else
 endif
 
 # website html files
-website_asciidoc_files = [
-  configure_file(
-    input : 'index.txt.in',
-    output: 'index.txt',
-    configuration: asciidoc_config,
-  ),
-  configure_file(
-    input : 'copyright.txt.in',
-    output: 'copyright.txt',
-    configuration: asciidoc_config,
-  ),
-]
-website_asciidoc_files += files(
+website_asciidoc_files = files(
+  'index.txt',
   'build.txt',
   'commandline.txt',
   'development.txt',
@@ -101,6 +90,13 @@ website_asciidoc_files += files(
   'glossary.txt',
   'operation-api.txt',
 )
+website_asciidoc_files += [
+  configure_file(
+    input : 'copyright.txt.in',
+    output: '@BASENAME@',
+    configuration: asciidoc_config,
+  )
+]
 
 # Inheritance diagram
 if ruby.found()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]