File: rules

package info (click to toggle)
libpsl 0.17.0-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 400 kB
  • ctags: 180
  • sloc: ansic: 2,037; python: 326; makefile: 148; sh: 80
file content (35 lines) | stat: -rwxr-xr-x 983 bytes parent folder | download
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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with autoreconf

override_dh_autoreconf-arch:
	dh_autoreconf ./autogen.sh

override_dh_auto_configure-arch:
	dh_auto_configure -- \
		--enable-builtin=libidn2 \
		--enable-gtk-doc \
		--enable-man \
		--enable-ld-version-script \
		--enable-runtime=libidn2 \
		--with-packager=Debian \
		--with-packager-bug-reports=https://bugs.debian.org/ \
		--with-packager-version="$(DEB_VERSION)" \
		--with-psl-distfile=/usr/share/publicsuffix/public_suffix_list.dafsa \
		--with-psl-file=/usr/share/publicsuffix/public_suffix_list.dat \
		--with-psl-testfile=/usr/share/doc/publicsuffix/examples/test_psl.txt

override_dh_installchangelogs:
	dh_installchangelogs NEWS

	# do nothing during an arch-independent build
override_dh_autoreconf-indep:
override_dh_auto_configure-indep:
override_dh_auto_build-indep:

override_dh_clean:
	[ -e missing ] || ln -sf /usr/share/libtool/build-aux/missing missing
	dh_clean