]> xenbits.xensource.com Git - libvirt.git/commitdiff
build: Kill docs/schemas/Makefile.am
authorCole Robinson <crobinso@redhat.com>
Sun, 10 Jan 2016 20:14:33 +0000 (15:14 -0500)
committerCole Robinson <crobinso@redhat.com>
Mon, 11 Jan 2016 16:45:14 +0000 (11:45 -0500)
Move the logic to docs/Makefile.am, and simplify it with a wildcard
expression.

configure.ac
docs/Makefile.am
docs/schemas/Makefile.am [deleted file]

index 787d0c61947be33278d443b206bc92071f14b894..58807a81cf7cc5ae4630ea567afa1027379a9733 100644 (file)
@@ -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 \
index 13d7a5ff261a95be2c5c7ddf2c7d0bc1d9382b34..5f531ea33631358bc48209df8001d159c89ac19b 100644 (file)
@@ -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
 ## <http://www.gnu.org/licenses/>.
 
-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 (file)
index 0e14dc6..0000000
+++ /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
-## <http://www.gnu.org/licenses/>.
-
-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)