1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
#!/usr/bin/make -f
# Export the package name.
export PYBUILD_NAME = hid
# Enable all build hardening flags.
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# Copy the test file to the build environment.
export PYBUILD_BEFORE_TEST = cp {dir}/tests.py {build_dir}
# Specify the test file to use.
export PYBUILD_TEST_ARGS = tests.py
# Delete the test file from the build environment after the test is run.
export PYBUILD_AFTER_TEST = rm {build_dir}/tests.py
%:
dh $@ --buildsystem=pybuild
|