summaryrefslogtreecommitdiff
path: root/prom-alertmanager/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'prom-alertmanager/debian/rules')
-rwxr-xr-xprom-alertmanager/debian/rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/prom-alertmanager/debian/rules b/prom-alertmanager/debian/rules
index 623bf34..123536f 100755
--- a/prom-alertmanager/debian/rules
+++ b/prom-alertmanager/debian/rules
@@ -12,3 +12,6 @@ override_dh_auto_install:
install -d $$(pwd)/debian/tmp/usr/bin/
install -m 755 $$(pwd)/$(DEB_BUILD_ARCH)/alertmanager $$(pwd)/debian/tmp/usr/bin/prometheus-alertmanager
install -m 755 $$(pwd)/$(DEB_BUILD_ARCH)/amtool $$(pwd)/debian/tmp/usr/bin/amtool
+
+override_dh_auto_clean:
+ make VERSION=$(DEB_VERSION_UPSTREAM) clean