Makefile.am 614 字节
Newer Older
D
Daniel Veillard 已提交
1 2
## Process this file with automake to produce Makefile.in

3
SUBDIRS = src include docs @PYTHON_SUBDIR@ tests proxy
4

5 6
EXTRA_DIST = libvirt.spec.in libvirt.spec COPYING.LIB \
             libvirt.pc.in libvirt.pc TODO AUTHORS ChangeLog \
7 8 9
	     NEWS README $(man_MANS)

man_MANS = virsh.1
D
Daniel Veillard 已提交
10 11

pkgconfigdir = $(libdir)/pkgconfig
12
pkgconfig_DATA = libvirt.pc
D
Daniel Veillard 已提交
13

14 15
rpm: clean
	@(unset CDPATH ; $(MAKE) dist && rpmbuild -ta $(distdir).tar.gz)
16 17 18 19

check-local: all tests

tests:
20
	@(cd docs/examples ; $(MAKE) MAKEFLAGS+=--silent tests)
21
	@(if [ "@PYTHON_SUBDIR@" != "" ] ; then cd python ; \
K
Karel Zak 已提交
22
	  $(MAKE) MAKEFLAGS+=--silent tests ; fi)