#!/usr/bin/make -f
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_auto_clean:
rm -rf .pytest_cache
rm -rf psrecord/_version.py
rm -rf psrecord.egg-info
rm -f debian/psrecord.1
dh_auto_clean
execute_before_dh_installman:
export PYTHONPATH=$(shell pybuild --print build_dir -i python3) ; \
export VERSION=$(shell dpkg-parsechangelog -S version) ; \
help2man "$(CURDIR)/debian/python3-psrecord/usr/bin/psrecord" --no-info --version-string="psrecord ${VERSION}" -n "A small utility that records the CPU and memory activity of a process. Can also output results to a plot." > debian/psrecord.1
|