2014-05-23 17:13:05 +02:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
# -*- makefile -*-
|
|
|
|
|
|
|
|
# Uncomment this to turn on verbose mode.
|
2014-06-06 06:40:49 +02:00
|
|
|
# export DH_VERBOSE=1
|
2014-06-06 05:12:56 +02:00
|
|
|
export DH_OPTIONS += --dbg-package=libpsl0-dbg
|
2014-05-23 17:13:05 +02:00
|
|
|
|
|
|
|
%:
|
|
|
|
dh $@ --with autotools-dev
|
|
|
|
|
|
|
|
override_dh_auto_configure:
|
|
|
|
./autogen.sh
|
|
|
|
dh_auto_configure -- \
|
|
|
|
--enable-gtk-doc \
|
|
|
|
--enable-ld-version-script \
|
|
|
|
--with-packager=Debian \
|
2014-06-12 17:30:05 +02:00
|
|
|
--with-packager-bug-reports=https://bugs.debian.org/ \
|
2014-06-06 05:59:56 +02:00
|
|
|
--with-packager-version="$(DEB_VERSION)" \
|
|
|
|
--with-psl-file=/usr/share/publicsuffix/effective_tld_names.dat \
|
|
|
|
--with-psl-testfile=/usr/share/doc/publicsuffix/examples/test_psl.txt
|
2014-05-23 17:13:05 +02:00
|
|
|
|
2014-06-06 06:16:16 +02:00
|
|
|
override_dh_auto_build:
|
|
|
|
dh_auto_build
|
|
|
|
help2man --no-info --no-discard-stderr --output=debian/psl.1 \
|
|
|
|
--name="Explore the Public Suffix List" tools/psl
|
|
|
|
|
2014-06-26 13:09:40 +02:00
|
|
|
override_dh_installchangelogs:
|
|
|
|
dh_installchangelogs -XChangeLog NEWS
|