File: rules

package info (click to toggle)
publicsuffix 20190723.1836-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 576 kB
  • sloc: python: 244; sh: 61; makefile: 36; perl: 33
file content (17 lines) | stat: -rwxr-xr-x 537 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
include /usr/share/dpkg/default.mk

%:
	dh $@

override_dh_compress:
	dh_compress -Xusr/share/doc/publicsuffix/examples/test_psl.txt

override_dh_installchangelogs:
	dh_installchangelogs debian/upstream-changes.txt

override_dh_auto_build:
	dh_auto_build
	TZ=UTC touch -t $(subst .,,$(DEB_VERSION_UPSTREAM)) public_suffix_list.dat
	psl-make-dafsa --input-format=psl --output-format=binary public_suffix_list.dat public_suffix_list.dafsa
	TZ=UTC touch -t $(subst .,,$(DEB_VERSION_UPSTREAM)).59 public_suffix_list.dafsa