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