make install (WIP+++)

This commit is contained in:
Gwenhael Le Moine 2024-08-25 17:13:24 +02:00
parent 418bc2aa8b
commit 7151a7d65a
No known key found for this signature in database
GPG key ID: FDFE3669426707A7
2 changed files with 4 additions and 3 deletions

View file

@ -145,13 +145,14 @@ install: dist/saturn dist/pack dist/saturn.cat dist/Saturn.ad
install -m 755 -d -- $(DESTDIR)$(PREFIX)/bin
install -c -m 755 dist/saturn $(DESTDIR)$(PREFIX)/bin/saturn
install -c -m 755 dist/saturn48gx $(DESTDIR)$(PREFIX)/bin/saturn48gx
install -c -m 644 dist/saturn.cat $(DESTDIR)$(PREFIX)/saturn.cat
install -m 755 -d -- $(DESTDIR)$(PREFIX)/share/saturn
install -c -m 755 dist/pack $(DESTDIR)$(PREFIX)/share/saturn/pack
cp -R dist/ROMs/ $(DESTDIR)$(PREFIX)/share/saturn/
install -m 755 -d -- $(DESTDIR)$(PREFIX)/share/locale/C/LC_MESSAGES
install -c -m 644 dist/saturn.cat $(DESTDIR)$(PREFIX)/share/locale/C/LC_MESSAGES
install -c -m 644 dist/saturn.cat $(DESTDIR)$(PREFIX)/share/locale/C/LC_MESSAGES/saturn.cat
install -m 755 -d -- $(DESTDIR)/etc/X11/app-defaults
install -c -m 644 dist/Saturn.ad $(DESTDIR)/etc/X11/app-defaults/Saturn

4
dist/saturn48gx vendored
View file

@ -23,6 +23,6 @@ fi
[ ! -e "$STATEDIR"/port1 ] && dd if=/dev/zero of="$STATEDIR"/port1 bs=1k count=128
[ ! -e "$STATEDIR"/port2 ] && dd if=/dev/zero of="$STATEDIR"/port2 bs=1k count=4096
export XAPPLRESDIR=/usr/etc/X11/app-defaults/
export NLSPATH=/usr/share/locale/C/LC_MESSAGES/
# export XAPPLRESDIR=/etc/X11/app-defaults/
# export NLSPATH=/usr/share/locale/C/LC_MESSAGES/
/usr/bin/saturn -face hp48 -hw hp48 -stateDir "$STATEDIR" -rom gxrom-r $RAM -port1 port1 -port2 port2