[libvirt PATCH 327/351] meson: docs: copy asset data to build dir

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

 



Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx>
---
 docs/Makefile.am | 4 ----
 docs/meson.build | 7 +++++++
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/docs/Makefile.am b/docs/Makefile.am
index 1a5ae23b0ae..ae504358d26 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -46,10 +46,6 @@ vpathhack:
 	do \
 	  test -e $$dir || ln -s $(srcdir)/$$dir $$dir ; \
 	done
-	@for file in $(assets); \
-	do \
-	  test -e $$file || ln -s $(srcdir)/$$file $$file ; \
-	done
 
 apihtml = \
   html/index.html \
diff --git a/docs/meson.build b/docs/meson.build
index 463caa5e3e1..bc9524eb69e 100644
--- a/docs/meson.build
+++ b/docs/meson.build
@@ -280,3 +280,10 @@ foreach data : docs_html_in_gen
     install_dir: docs_html_dir,
   )
 endforeach
+
+
+# This hack enables us to view the web pages
+# from within the uninstalled build tree
+foreach file : docs_assets
+  configure_file(input: file, output: file, copy: true)
+endforeach
-- 
2.26.2




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux