aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2016-02-27 13:24:04 +0000
committerChristopher Baines <mail@cbaines.net>2016-02-27 13:24:04 +0000
commitff067572f86b9d653528ee5ce3601d968c3683f4 (patch)
treeb0e09f0db6413b4eba6ea9ecd3fc4739f4bfe2ec /debian/rules
parent653c7f7a91672ceeb90106d4b100492917f613c9 (diff)
downloadprometheus-pgbouncer-exporter-ff067572f86b9d653528ee5ce3601d968c3683f4.tar
prometheus-pgbouncer-exporter-ff067572f86b9d653528ee5ce3601d968c3683f4.tar.gz
Remove the debian directory
This will live on another branch
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules22
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