use repo instead of releases

This commit is contained in:
Mylloon 2024-05-05 19:25:01 +02:00
parent cd4e8866fb
commit 562244aef4
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -44,11 +44,12 @@ clean:
-$(RM) $(SYSTEMS).xml $(TORTUE).xml $(TRACEUR).xml $(EXPORT).svg
# Télécharge Saxon
SAXON_VER = 10.9
SAXON_VER = 10.3
saxon:
$(eval $version = $(subst .,-,$(SAXON_VER)))
$(eval $zipfile = saxon.zip)
$(CURL) https://github.com/Saxonica/Saxon-HE/releases/download/SaxonHE$($version)/SaxonHE$($version)J.zip \
> $($zipfile)
$(UNZIP) -j $($zipfile) saxon-he-$(SAXON_VER).jar
$(RM) $($zipfile)
$(eval _version = $(subst .,-,$(SAXON_VER)))
$(eval _major = $(firstword $(subst ., ,$(SAXON_VER))))
$(eval _zipfile = saxon.zip)
$(CURL) https://github.com/Saxonica/Saxon-HE/raw/main/$(_major)/Java/SaxonHE$(_version)J.zip \
> $(_zipfile)
$(UNZIP) -j $(_zipfile) saxon-he-$(SAXON_VER).jar
$(RM) $(_zipfile)