# so force it explicitly
DISTCHECK_CONFIGURE_FLAGS = --enable-werror
-SUBDIRS = . src tools docs \
+SUBDIRS = . tools docs \
tests po examples
XZ_OPT ?= -v -T0
AC_CONFIG_FILES([run],
[chmod +x,-w run])
AC_CONFIG_FILES([\
- Makefile src/Makefile docs/Makefile \
+ Makefile docs/Makefile \
.color_coded \
.ycm_extra_conf.py \
libvirt.pc \
+++ /dev/null
-## Process this file with automake to produce Makefile.in
-
-## Copyright (C) 2005-2018 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/>.
-
-# No libraries with the exception of LIBXML should be listed
-# here. List them against the individual XXX_la_CFLAGS targets
-# that actually use them.
-
-include admin/Makefile.inc.am
+++ /dev/null
-# vim: filetype=automake
-
-check-admin-drivername:
- $(AM_V_GEN)$(RUNUTF8) $(PYTHON) $(top_srcdir)/scripts/check-drivername.py \
- $(srcdir)/admin/libvirt_admin_public.syms
-
-check-admin: check-admin-drivername
capture: true,
)
+libvirt_admin_public_syms = files(
+ 'libvirt_admin_public.syms',
+)
+
libvirt_admin_private_syms = files(
'libvirt_admin_private.syms',
)
libvirt_admin_syms = custom_target(
'libvirt_admin.syms',
input: [
- 'libvirt_admin_public.syms',
+ libvirt_admin_public_syms,
libvirt_admin_private_syms,
],
output: 'libvirt_admin.syms',
env: runutf8,
)
+test(
+ 'check-admin-drivername',
+ python3_prog,
+ args: [
+ check_drivername_prog.path(), libvirt_admin_public_syms,
+ ],
+ env: runutf8,
+)
+
test(
'check-driverimpls',
python3_prog,