summaryrefslogtreecommitdiff
path: root/prom-alertmanager
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-08-24 12:30:00 +0200
committerChristian Pointner <equinox@spreadspace.org>2021-08-24 12:30:00 +0200
commit0e1c2632651ed126a0516c4fed141899e9db1d77 (patch)
tree26d3d21d3150c6da44d5f8d43074b428401e8b6b /prom-alertmanager
parentupdate mikrotik exporter (diff)
make package configs more generic
Diffstat (limited to 'prom-alertmanager')
-rw-r--r--prom-alertmanager/Makefile2
-rw-r--r--prom-alertmanager/debian/install (renamed from prom-alertmanager/debian/prom-alertmanager.install)0
-rwxr-xr-xprom-alertmanager/debian/rules3
3 files changed, 3 insertions, 2 deletions
diff --git a/prom-alertmanager/Makefile b/prom-alertmanager/Makefile
index b0be89e..974e9d3 100644
--- a/prom-alertmanager/Makefile
+++ b/prom-alertmanager/Makefile
@@ -1,4 +1,4 @@
-VERSION := 0.22.2
+VERSION := "invalid"
GITHUB_BASEURL := "https://github.com/prometheus/alertmanager/releases/download"
.PHONY: clean
diff --git a/prom-alertmanager/debian/prom-alertmanager.install b/prom-alertmanager/debian/install
index 4ef0201..4ef0201 100644
--- a/prom-alertmanager/debian/prom-alertmanager.install
+++ b/prom-alertmanager/debian/install
diff --git a/prom-alertmanager/debian/rules b/prom-alertmanager/debian/rules
index 6b8773b..623bf34 100755
--- a/prom-alertmanager/debian/rules
+++ b/prom-alertmanager/debian/rules
@@ -1,11 +1,12 @@
#!/usr/bin/make -f
+include /usr/share/dpkg/pkg-info.mk
%:
dh $@
override_dh_auto_configure:
override_dh_auto_build:
- make $(DEB_BUILD_ARCH)/alertmanager
+ make VERSION=$(DEB_VERSION_UPSTREAM) $(DEB_BUILD_ARCH)/alertmanager
override_dh_auto_install:
install -d $$(pwd)/debian/tmp/usr/bin/