Files
evolution/debian/rules
Jeremy Bicha 74ebfdd987 Split bogofilter, pstimport, and spamassassin support into separate pkgs
git-svn-id: file:///svn/pkg-evolution/experimental/evolution@3151 ed03ce00-e4f4-0310-9448-ee38221cb277
2017-05-03 12:14:34 +00:00

47 lines
1.4 KiB
Makefile
Executable File

#!/usr/bin/make -f
include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
include /usr/share/gnome-pkg-tools/1/rules/gnome-version.mk
include /usr/share/dpkg/default.mk
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs -Wl,--as-needed -Wl,-O1
# see https://bugzilla.gnome.org/show_bug.cgi?id=594473 for details
export DEB_LDFLAGS_MAINT_STRIP = -Wl,-Bsymbolic-functions
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@ --with gnome
override_dh_gnome_clean:
dh_gnome_clean --no-control
override_dh_autoreconf:
dh_autoreconf --as-needed
DEB_REVISION := $(shell echo $(DEB_VERSION) | awk -F- '{ print $$NF }')
override_dh_auto_configure:
dh_auto_configure -- \
-DLIBEXEC_INSTALL_DIR=/usr/lib \
-DSYSCONF_INSTALL_DIR=/etc \
-DWITH_OPENLDAP=ON \
-DENABLE_PLUGINS=all \
-DENABLE_PST_IMPORT=ON \
-DENABLE_CONTACT_MAPS=ON \
-DENABLE_AUTOAR=ON \
-DENABLE_INSTALLED_TESTS=ON \
-DWITH_HELP=ON \
-DENABLE_GTK_DOC=ON \
-DVERSION_SUBSTRING=-$(DEB_REVISION)
override_dh_install:
dh_install --fail-missing -X.la -Xlibevolutiontestsettings.so
find debian/libevolution/ -name 'module-bogofilter.so' -delete
find debian/libevolution/ -name 'module-spamassassin.so' -delete
override_dh_makeshlibs:
dh_makeshlibs -V'libevolution (>= $(DEB_VERSION_UPSTREAM)), libevolution (<< $(DEB_GNOME_NEXTVERSION))' -n
override_dh_strip:
dh_strip --dbgsym-migration='evolution-dbg (<< 3.18.5.2-1~)'