libpsl/debian/rules

25 lines
775 B
Makefile
Executable File

#!/usr/bin/make -f
# FIXME: how do we only use dh_autoreconf when building arch-specific
# packages? see debian/README.source for an explanation of why we
# care about splitting binary-only builds from arch:all builds.
DH_AUTORECONF = --with autoreconf
%:
dh $@ $(DH_AUTORECONF)
override_dh_autoreconf-arch:
dh_autoreconf ./autogen.sh
override_dh_auto_configure-arch:
dh_auto_configure -- \
--enable-builtin=libicu \
--enable-gtk-doc \
--enable-ld-version-script \
--enable-runtime=libicu \
--with-packager=Debian \
--with-packager-bug-reports=https://bugs.debian.org/ \
--with-packager-version="$(DEB_VERSION)" \
--with-psl-file=/usr/share/publicsuffix/public_suffix_list.dat \
--with-psl-testfile=/usr/share/doc/publicsuffix/examples/test_psl.txt