diff options
Diffstat (limited to 'ubuntu/precise/dependencies/avahi-tqt/debian/rules')
-rwxr-xr-x | ubuntu/precise/dependencies/avahi-tqt/debian/rules | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/ubuntu/precise/dependencies/avahi-tqt/debian/rules b/ubuntu/precise/dependencies/avahi-tqt/debian/rules index c3ea0343f..54a22a44f 100755 --- a/ubuntu/precise/dependencies/avahi-tqt/debian/rules +++ b/ubuntu/precise/dependencies/avahi-tqt/debian/rules @@ -1,17 +1,24 @@ #!/usr/bin/make -f -%: - dh $@ +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk # Ensure at build time that the library has no dependencies on undefined # symbols, and speed up loading. export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) -Wl,-z,defs -Wl,-O1 -override_dh_auto_configure: - ./autogen.sh - dh_auto_configure -- $(CONFFLAGS) \ +DEB_CONFIGURE_EXTRA_FLAGS += \ --enable-compat-libdns_sd \ --disable-mono --disable-monodoc \ --disable-gtk3 \ --with-systemdsystemunitdir=/lib/systemd/system +DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ + && echo xz || echo bzip2) + +post-patches:: debian/stamp-bootstrap + +debian/stamp-bootstrap: + ./autogen.sh + rm ./ChangeLog + touch debian/stamp-bootstrap |