Don't fetch ROMs during install

This commit is contained in:
Gwenhael Le Moine 2024-08-11 13:44:40 +02:00
parent 6271bc7daf
commit 624d4e9f5d
No known key found for this signature in database
GPG key ID: FDFE3669426707A7
2 changed files with 3 additions and 2 deletions

View file

@ -151,6 +151,7 @@ clean:
mrproper: clean
rm -f dist/mkcard dist/checkrom dist/dump2rom dist/x48ng
make -C dist/ROMs mrproper
clean-all: mrproper
@ -165,7 +166,7 @@ get-roms:
dist/config.lua: dist/x48ng
$^ --print-config > $@
install: all get-roms dist/config.lua
install: all dist/config.lua
install -m 755 -d -- $(DESTDIR)$(PREFIX)/bin
install -c -m 755 dist/x48ng $(DESTDIR)$(PREFIX)/bin/x48ng

2
dist/ROMs/Makefile vendored
View file

@ -3,7 +3,7 @@
get-roms: sxrom-a sxrom-b sxrom-c sxrom-d sxrom-e sxrom-j gxrom-l gxrom-m gxrom-p gxrom-r
mrproper:
-rm sxrom-a sxrom-b sxrom-c sxrom-d sxrom-e sxrom-j gxrom-l gxrom-m gxrom-p gxrom-r
-rm ./sxrom-a ./sxrom-b ./sxrom-c ./sxrom-d ./sxrom-e ./sxrom-j ./gxrom-l ./gxrom-m ./gxrom-p ./gxrom-r
sxrom-a:
curl "https://www.hpcalc.org/hp48/pc/emulators/sxrom-a.zip" --output - | funzip > "sxrom-a"