debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DH_VERBOSE=1 |
| 4 | |
| 5 | %: |
| 6 | dh $@ |
| 7 | |
| 8 | override_dh_auto_build: |
| 9 | gunzip < /usr/share/man/man1/colordiff.1.gz > colordiff-git.1 |
| 10 | patch /usr/bin/colordiff colordiff-git.patch -o colordiff-git |
| 11 | |
| 12 | override_dh_gencontrol: |
| 13 | dh_gencontrol -- -Vbuilt:Using="$(shell dpkg-query -f '$${source:Package} (= $${source:Version}), ' -W colordiff)" |
| 14 | |
| 15 | override_dh_clean: |
| 16 | dh_clean |
| 17 | debconf-updatepo |