2023-10-07 05:47:24 +02:00
|
|
|
# Copying and distribution of this file, with or without modification,
|
|
|
|
# are permitted in any medium without royalty provided the copyright
|
|
|
|
# notice and this notice are preserved. This file is offered as-is,
|
|
|
|
# without any warranty.
|
|
|
|
|
|
|
|
CURL ?= curl
|
|
|
|
MIRROR ?= https://cdimage.trisquel.info/trisquel-images
|
|
|
|
VERSION ?= 11.0
|
|
|
|
|
|
|
|
.precious: \
|
|
|
|
trisquel_$(VERSION)_amd64.iso \
|
|
|
|
trisquel_$(VERSION)_amd64.iso.asc \
|
|
|
|
trisquel-netinst_$(VERSION)_amd64.iso \
|
|
|
|
trisquel-netinst_$(VERSION)_amd64.iso.asc
|
|
|
|
|
|
|
|
.PHONY: all
|
2023-10-10 01:04:46 +02:00
|
|
|
all: verify-trisquel-netinst_$(VERSION)_amd64
|
2023-10-07 05:47:24 +02:00
|
|
|
|
|
|
|
trisquel-archive-signkey.gpg:
|
|
|
|
gpg --list-keys D24DDAC9226D5BA5E9F3BED3F5DAAAF74AD4C938 || \
|
|
|
|
$(CURL) https://archive.trisquel.info/trisquel/$@ -o $@
|
|
|
|
gpg --list-keys D24DDAC9226D5BA5E9F3BED3F5DAAAF74AD4C938 || \
|
|
|
|
gpg --import trisquel-archive-signkey.gpg
|
|
|
|
|
|
|
|
%.iso:
|
|
|
|
$(CURL) $(MIRROR)/$@ -o $@
|
|
|
|
|
|
|
|
%.asc: trisquel-archive-signkey.gpg %
|
|
|
|
$(CURL) $(MIRROR)/$@ -o $@
|
|
|
|
|
|
|
|
verify-%: %.iso.asc
|
|
|
|
gpg --verify $<
|