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
|
#!/usr/bin/make -f
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
FULL_VERSION := $(shell dpkg-parsechangelog -SVersion)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie
%:
dh $@ --with autotools_dev --parallel
override_dh_auto_configure:
dh_auto_configure -- \
--prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
--enable-gpgme \
--enable-ipv6 \
--enable-aspell \
--enable-jpilot \
--enable-ldap \
--with-config-dir=.claws-mail
override_dh_clean:
$(MAKE) -C debian/manpages clean
rm -f src/plugins/perl/tools/matcherrc2perlfilter
dh_clean
override_dh_auto_build:
$(MAKE) -C debian/manpages
pod2man --center="claws-mail-perl-filter" \
--release="$(FULL_VERSION)" src/plugins/perl/cm_perl.pod \
> debian/manpages/claws-mail-perl-filter.1
cp -p src/plugins/perl/tools/matcherrc2perlfilter.pl \
src/plugins/perl/tools/matcherrc2perlfilter
dh_auto_build
override_dh_strip:
dh_strip --dbgsym-migration='claws-mail-dbg (<< 3.14.1-2~)'
override_dh_compress:
dh_compress -Xclaws-mail/tools
|