diff options
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/debian/rules b/debian/rules deleted file mode 100755 index 12e4640..0000000 --- a/debian/rules +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/make -f - -export DH_VERBOSE=1 - -%: - dh $@ --with=python3,systemd --buildsystem=pybuild - -override_dh_systemd_enable: - dh_systemd_enable prometheus-pgbouncer-exporter.service - -override_dh_systemd_start: - dh_systemd_start --restart-after-upgrade prometheus-pgbouncer-exporter.service - -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 |