blob: 18b9887fe6f60a2258d0bcc1090cb4bf83e2cdb0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
FILES = netdata.list netdata-edge.list netdata-archive-keyring.gpg netdata-edge-archive-keyring.gpg netdata-repoconfig-archive-keyring.gpg
all: $(FILES)
netdata.list: netdata.list.in
cp netdata.list.in netdata.list
set -a && . /etc/os-release && sed -i -e "s/__DISTRO__/$${ID}/" -e "s/__SUITE__/$${VERSION_CODENAME}/" -e "s/__VARIANT__/stable/" netdata.list
netdata-edge.list: netdata.list.in
cp netdata.list.in netdata-edge.list
set -a && . /etc/os-release && sed -i -e "s/__DISTRO__/$${ID}/" -e "s/__SUITE__/$${VERSION_CODENAME}/" -e "s/__VARIANT__/edge/" netdata-edge.list
netdata.gpg.key:
curl -L https://repo.netdata.cloud/netdatabot.gpg.key > $@
netdata-archive-keyring.gpg: netdata.gpg.key
gpg --dearmor > $@ < $<
netdata-edge-archive-keyring.gpg: netdata.gpg.key
gpg --dearmor > $@ < $<
netdata-repoconfig-archive-keyring.gpg: netdata.gpg.key
gpg --dearmor > $@ < $<
debian/tmp:
mkdir -p $@
install: $(FILES) debian/tmp
cp $(FILES) debian/tmp/
clean:
rm -f $(FILES)
.PHONY: clean
.INTERMEDIATE: netdatabot.gpg.key
|