| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
# See debhelper(7) (uncomment to enable). |
| 4 |
# Output every command that modifies files on the build system. |
| 5 |
#export DH_VERBOSE = 1 |
| 6 |
|
| 7 |
export PYBUILD_NAME=hvcc |
| 8 |
export PYBUILD_AFTER_INSTALL_python3=mv '{destdir}/usr/bin/'* '{dir}/debian/tmp/usr/bin' |
| 9 |
|
| 10 |
%: |
| 11 |
dh $@ --buildsystem=pybuild |
| 12 |
|
| 13 |
execute_before_dh_auto_install: |
| 14 |
mkdir -p debian/tmp/usr/bin |
| 15 |
|
| 16 |
################ d/copyright helper ############## |
| 17 |
DEB_COPYRIGHT_CHECK_IGNORE_REGEX = \ |
| 18 |
debian/.* |
| 19 |
# licensecheck v1 |
| 20 |
.PHONY: licensecheck |
| 21 |
licensecheck: |
| 22 |
LANG=C.UTF-8 licensecheck \ |
| 23 |
-i "^($(DEB_COPYRIGHT_CHECK_IGNORE_REGEX))$$" \ |
| 24 |
--check '.*' --recursive --deb-machine --lines 0 * \ |
| 25 |
> debian/copyright_newhints |
| 26 |
cmp debian/copyright_hints debian/copyright_newhints \ |
| 27 |
&& rm debian/copyright_newhints |