#!/usr/bin/make -f export DH_VERBOSE=1 %: dh $@ --with=python3 --buildsystem=pybuild override_dh_auto_install: dh_auto_install # build the man page help2man -n "Export metrics from pgbouncer to Prometheus" --no-info \ --version-option="-m prometheus_pgbouncer_exporter --version" \ --help-option="-m prometheus_pgbouncer_exporter --help" \ --output=prometheus-pgbouncer-exporter.1 python3 # Remove the .TP on the 7th line to improve readability sed -i '7 d' prometheus-pgbouncer-exporter.1