[libvirt PATCH 336/351] meson: docs/schemas: install RNG schemas

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

 



Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx>
---
 docs/Makefile.am         |  3 ---
 docs/meson.build         |  1 +
 docs/schemas/meson.build | 26 ++++++++++++++++++++++++++
 3 files changed, 27 insertions(+), 3 deletions(-)
 create mode 100644 docs/schemas/meson.build

diff --git a/docs/Makefile.am b/docs/Makefile.am
index 8fe0959bc2d..40b4d224d71 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -16,9 +16,6 @@
 ## License along with this library.  If not, see
 ## <http://www.gnu.org/licenses/>.
 
-schemadir = $(pkgdatadir)/schemas
-schema_DATA = $(wildcard $(srcdir)/schemas/*.rng)
-
 check-html:
 	$(XMLLINT) --nonet --noout html/*.html
 
diff --git a/docs/meson.build b/docs/meson.build
index a03beb86b77..6d3d002fd7c 100644
--- a/docs/meson.build
+++ b/docs/meson.build
@@ -291,6 +291,7 @@ subdir('js')
 subdir('kbase')
 subdir('logos')
 subdir('manpages')
+subdir('schemas')
 
 
 # This hack enables us to view the web pages
diff --git a/docs/schemas/meson.build b/docs/schemas/meson.build
new file mode 100644
index 00000000000..7fc7ff05038
--- /dev/null
+++ b/docs/schemas/meson.build
@@ -0,0 +1,26 @@
+docs_schema_files = [
+  'basictypes.rng',
+  'capability.rng',
+  'cputypes.rng',
+  'domainbackup.rng',
+  'domaincaps.rng',
+  'domaincheckpoint.rng',
+  'domaincommon.rng',
+  'domain.rng',
+  'domainsnapshot.rng',
+  'interface.rng',
+  'networkcommon.rng',
+  'networkport.rng',
+  'network.rng',
+  'nodedev.rng',
+  'nwfilterbinding.rng',
+  'nwfilter_params.rng',
+  'nwfilter.rng',
+  'secret.rng',
+  'storagecommon.rng',
+  'storagepoolcaps.rng',
+  'storagepool.rng',
+  'storagevol.rng',
+]
+
+install_data(docs_schema_files, install_dir: pkgdatadir / 'schemas')
-- 
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