File: rules

package info (click to toggle)
apt-listdifferences 1.20230122
  • links: PTS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 152 kB
  • sloc: python: 118; sh: 18; makefile: 11
file content (17 lines) | stat: -rwxr-xr-x 391 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export DH_VERBOSE=1

%:
	dh $@

override_dh_auto_build:
	gunzip < /usr/share/man/man1/colordiff.1.gz > colordiff-git.1
	patch /usr/bin/colordiff colordiff-git.patch -o colordiff-git

override_dh_gencontrol:
	dh_gencontrol -- -Vbuilt:Using="$(shell dpkg-query -f '$${source:Package} (= $${source:Version}), ' -W colordiff)"

override_dh_clean:
	dh_clean
	debconf-updatepo