]> git.proxmox.com Git - pve-manager.git/blob - aplinfo/Makefile
apl: add bullseye pub key
[pve-manager.git] / aplinfo / Makefile
1
2 DOCDIR=/usr/share/doc/pve-manager/
3
4 TRUSTED_KEYS= \
5 proxmox-release-5.x.pubkey \
6 proxmox-release-6.x.pubkey \
7 proxmox-release-bullseye.pubkey \
8 release@turnkeylinux.com.pubkey
9
10 all:
11
12 .PHONY: install
13 install: aplinfo.dat trustedkeys.gpg
14 install -D -m 0644 aplinfo.dat ${DESTDIR}${DOCDIR}/aplinfo.dat
15 install -D -m 0644 trustedkeys.gpg ${DESTDIR}${DOCDIR}/trustedkeys.gpg
16
17 .PHONY: update
18 update:
19 rm -f aplinfo.dat
20 wget http://download.proxmox.com/images/aplinfo-pve-6.dat -O aplinfo.dat.tmp
21 mv aplinfo.dat.tmp aplinfo.dat
22
23 %.gpg: %.pubkey
24 gpg --dearmor -o $@ $<
25
26 trustedkeys.gpg: ${TRUSTED_KEYS:.pubkey=.gpg}
27 cat $^ > $@
28
29 .PHONY: clean
30 clean:
31 rm -rf *~ aplinfo.dat.gz aplinfo.dat.asc tempgpg *.gpg