]>
Commit | Line | Data |
---|---|---|
beb651ee DM |
1 | |
2 | DOCDIR=/usr/share/doc/pve-manager/ | |
3 | ||
d16531e3 | 4 | TRUSTED_KEYS= \ |
8d99bc45 | 5 | proxmox-release-6.x.pubkey \ |
c01096fb | 6 | proxmox-release-bullseye.pubkey \ |
d16531e3 DM |
7 | release@turnkeylinux.com.pubkey |
8 | ||
beb651ee DM |
9 | all: |
10 | ||
11 | .PHONY: install | |
868801cb | 12 | install: aplinfo.dat trustedkeys.gpg |
beb651ee | 13 | install -D -m 0644 aplinfo.dat ${DESTDIR}${DOCDIR}/aplinfo.dat |
868801cb | 14 | install -D -m 0644 trustedkeys.gpg ${DESTDIR}${DOCDIR}/trustedkeys.gpg |
beb651ee | 15 | |
68097d8c DM |
16 | .PHONY: update |
17 | update: | |
18 | rm -f aplinfo.dat | |
13856b95 | 19 | wget http://download.proxmox.com/images/aplinfo-pve-7.dat -O aplinfo.dat.tmp |
68097d8c DM |
20 | mv aplinfo.dat.tmp aplinfo.dat |
21 | ||
6976163d TL |
22 | %.gpg: %.pubkey |
23 | gpg --dearmor -o $@ $< | |
24 | ||
25 | trustedkeys.gpg: ${TRUSTED_KEYS:.pubkey=.gpg} | |
26 | cat $^ > $@ | |
868801cb | 27 | |
beb651ee DM |
28 | .PHONY: clean |
29 | clean: | |
6976163d | 30 | rm -rf *~ aplinfo.dat.gz aplinfo.dat.asc tempgpg *.gpg |