~ubuntu-branches/ubuntu/jaunty/avahi/jaunty-updates

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
#! /usr/bin/make -f 

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk

# List any files which are not installed
include /usr/share/cdbs/1/rules/utils.mk
common-binary-post-install-arch:: list-missing

# Ensure at build time that the library has no dependencies on undefined
# symbols, and speed up loading.
LDFLAGS += -Wl,-z,defs -Wl,-O1

DEB_CONFIGURE_EXTRA_FLAGS += --enable-compat-libdns_sd --enable-compat-howl \
                            --disable-mono --disable-monodoc


DEB_INSTALL_DOCS_ALL += docs/README docs/NEWS

DEB_SHLIBDEPS_INCLUDE := debian/libavahi-common3/usr/lib \
                         debian/libavahi-core4/usr/lib \
                         debian/libavahi-client3/usr/lib

binary-install/avahi-discover::
	dh_pysupport -p$(cdbs_curpkg)
	dh_python -p$(cdbs_curpkg)
	rm -f debian/tmp/usr/lib/python*/site-packages/avahi/*.py[co]

binary-install/python-avahi::
	dh_pysupport -p$(cdbs_curpkg)
	dh_python -p$(cdbs_curpkg)
	rm -f debian/tmp/usr/lib/python*/site-packages/avahi/*.py[co]

binary-fixup/avahi-daemon::
	chmod +x debian/$(cdbs_curpkg)/etc/dbus-1/event.d/*
	chmod +x debian/$(cdbs_curpkg)/usr/share/avahi/avahi_status
	chmod +x debian/$(cdbs_curpkg)/usr/share/avahi/enable_avahi

binary-fixup/avahi-dnsconfd::
	chmod +x debian/$(cdbs_curpkg)/etc/dbus-1/event.d/*