diff --git a/configure.ac b/configure.ac index 787d0c6194..58807a81cf 100644 --- a/configure.ac +++ b/configure.ac @@ -2796,7 +2796,6 @@ AC_CONFIG_FILES([run], [chmod +x,-w run]) AC_CONFIG_FILES([\ Makefile src/Makefile include/Makefile docs/Makefile \ - docs/schemas/Makefile \ gnulib/lib/Makefile \ gnulib/tests/Makefile \ libvirt.pc \ diff --git a/docs/Makefile.am b/docs/Makefile.am index 13d7a5ff26..5f531ea336 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -1,6 +1,6 @@ ## Process this file with automake to produce Makefile.in -## Copyright (C) 2005-2015 Red Hat, Inc. +## Copyright (C) 2005-2016 Red Hat, Inc. ## ## This library is free software; you can redistribute it and/or ## modify it under the terms of the GNU Lesser General Public @@ -16,8 +16,6 @@ ## License along with this library. If not, see ## . -SUBDIRS= schemas - PERL = perl # The directory containing the source code (if it contains documentation). @@ -150,6 +148,9 @@ fig = \ migration-tunnel.fig \ migration-unmanaged-direct.fig +schemadir = $(pkgdatadir)/schemas +schema_DATA = $(wildcard schemas/*.rng) + EXTRA_DIST= \ apibuild.py genaclperms.pl \ site.xsl newapi.xsl news.xsl page.xsl \ @@ -160,7 +161,8 @@ EXTRA_DIST= \ $(patches) $(dot_php_in) $(dot_php_code_in) $(dot_php)\ $(internals_html_in) $(internals_html) \ sitemap.html.in aclperms.htmlinc \ - todo.pl hvsupport.pl todo.cfg-example + todo.pl hvsupport.pl todo.cfg-example \ + $(schema_DATA) acl_generated = aclperms.htmlinc diff --git a/docs/schemas/Makefile.am b/docs/schemas/Makefile.am deleted file mode 100644 index 0e14dc6c92..0000000000 --- a/docs/schemas/Makefile.am +++ /dev/null @@ -1,35 +0,0 @@ -## Copyright (C) 2005-2011, 2013-2014 Red Hat, Inc. -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library. If not, see -## . - -schemadir = $(pkgdatadir)/schemas -schema_DATA = \ - basictypes.rng \ - capability.rng \ - domain.rng \ - domaincaps.rng \ - domaincommon.rng \ - domainsnapshot.rng \ - interface.rng \ - network.rng \ - networkcommon.rng \ - nodedev.rng \ - nwfilter.rng \ - secret.rng \ - storagecommon.rng \ - storagepool.rng \ - storagevol.rng - -EXTRA_DIST = $(schema_DATA)