File: rules

package info (click to toggle)
libvirt 0.4.6-10%2Blenny2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 29,084 kB
  • ctags: 8,508
  • sloc: ansic: 75,483; xml: 11,901; sh: 10,518; python: 4,309; makefile: 863; perl: 356; awk: 48; sed: 16
file content (44 lines) | stat: -rwxr-xr-x 1,262 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/usr/bin/make -f

DEB_PYTHON_SYSTEM=pycentral
DEB_DH_INSTALL_SOURCEDIR = debian/tmp

ifneq (,$(findstring $(DEB_HOST_ARCH), i386 amd64))
  BUILD_XEN=--with-xen
else
  BUILD_XEN=--without-xen
endif

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/class/python-distutils.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk

DEB_CONFIGURE_EXTRA_FLAGS :=     \
	--disable-rpath          \
	--with-qemu              \
	--without-openvz         \
	--without-lxc            \
	--with-avahi             \
	--with-sasl              \
	--with-polkit		 \
        --with-storage-fs        \
        --with-storage-lvm       \
        --with-storage-iscsi     \
        --with-storage-disk      \
	--with-init-scripts=none \
	--without-numactl	 \
	--enable-debug		 \
	$(BUILD_XEN)

DEB_DBG_PACKAGES = libvirt0-dbg
DEB_DBG_PACKAGE_libvirt0 = libvirt0-dbg
DEB_PYTHON_SETUP_CMD := /dev/null
DEB_DH_MAKESHLIBS_ARGS_libvirt0 += -V 'libvirt0 (>= 0.4.6)'
DEB_DH_INSTALLINIT_ARGS := --no-restart-on-upgrade
DEB_DH_INSTALLLOGROTATE_ARGS := --name=libvirtd

EXAMPLES=debian/libvirt-doc/usr/share/doc/libvirt-doc/examples/

binary-install/libvirt-doc::
	cd $(EXAMPLES) && rm -rf .libs *.o info1 suspend ../html/CVS