# so force it explicitly
DISTCHECK_CONFIGURE_FLAGS = --enable-werror
-SUBDIRS = . docs
+SUBDIRS = .
XZ_OPT ?= -v -T0
export XZ_OPT
AC_CONFIG_FILES([run],
[chmod +x,-w run])
AC_CONFIG_FILES([\
- Makefile docs/Makefile \
+ Makefile \
.color_coded \
.ycm_extra_conf.py \
libvirt.pc \
+++ /dev/null
-## Process this file with automake to produce Makefile.in
-
-## 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
-## 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/>.
-
-check-html:
- $(XMLLINT) --nonet --noout html/*.html
-
-check-local: check-html
install_data(apipng, install_dir: docs_html_dir / 'html')
-custom_target(
+docs_html_gen = []
+docs_html_dep = []
+
+index_api_gen = custom_target(
'index-api',
input: [
newapi_xsl,
],
)
+docs_html_gen += index_api_gen.to_list()
+docs_html_dep += index_api_gen
+
foreach name : [ 'admin', 'lxc', 'qemu' ]
- custom_target(
+ index_api_gen = custom_target(
'index-@0@-api'.format(name),
input: [
newapi_xsl,
page_xsl,
],
)
+
+ docs_html_gen += index_api_gen.to_list()
+ docs_html_dep += index_api_gen
endforeach
+
+docs_html_paths = []
+
+foreach file : docs_html_gen
+ docs_html_paths += file.full_path()
+endforeach
+
+test(
+ 'check-html',
+ xmllint_prog,
+ args: [
+ '--nonet', '--noout', docs_html_paths,
+ ],
+ depends: docs_html_dep,
+)