make install
This commit is contained in:
parent
f721767a87
commit
a520f05b3a
4 changed files with 16 additions and 13 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -19,3 +19,4 @@ dist/saturn.cat
|
||||||
dist/stateDir.*
|
dist/stateDir.*
|
||||||
|
|
||||||
dist/ROMs/*rom-*
|
dist/ROMs/*rom-*
|
||||||
|
/manual/saturn.log
|
||||||
|
|
19
Makefile
19
Makefile
|
@ -141,7 +141,7 @@ get-roms:
|
||||||
make -C dist/ROMs get-roms
|
make -C dist/ROMs get-roms
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
install: dist/saturn dist/pack dist/saturn.cat dist/Saturn.ad
|
install: dist/saturn dist/pack dist/saturn.cat dist/Saturn.ad manual
|
||||||
install -m 755 -d -- $(DESTDIR)$(PREFIX)/bin
|
install -m 755 -d -- $(DESTDIR)$(PREFIX)/bin
|
||||||
install -c -m 755 dist/saturn $(DESTDIR)$(PREFIX)/bin/saturn
|
install -c -m 755 dist/saturn $(DESTDIR)$(PREFIX)/bin/saturn
|
||||||
install -c -m 755 dist/saturn48gx $(DESTDIR)$(PREFIX)/bin/saturn48gx
|
install -c -m 755 dist/saturn48gx $(DESTDIR)$(PREFIX)/bin/saturn48gx
|
||||||
|
@ -149,27 +149,20 @@ install: dist/saturn dist/pack dist/saturn.cat dist/Saturn.ad
|
||||||
|
|
||||||
install -m 755 -d -- $(DESTDIR)$(PREFIX)/share/saturn
|
install -m 755 -d -- $(DESTDIR)$(PREFIX)/share/saturn
|
||||||
install -c -m 755 dist/pack $(DESTDIR)$(PREFIX)/share/saturn/pack
|
install -c -m 755 dist/pack $(DESTDIR)$(PREFIX)/share/saturn/pack
|
||||||
|
install -c -m 644 dist/hplogo.png $(DESTDIR)$(PREFIX)/share/saturn/hplogo.png
|
||||||
cp -R dist/ROMs/ $(DESTDIR)$(PREFIX)/share/saturn/
|
cp -R dist/ROMs/ $(DESTDIR)$(PREFIX)/share/saturn/
|
||||||
|
|
||||||
install -m 755 -d -- $(DESTDIR)$(PREFIX)/share/locale/C/LC_MESSAGES
|
# 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/saturn.cat
|
# 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 -m 755 -d -- $(DESTDIR)/etc/X11/app-defaults
|
||||||
install -c -m 644 dist/Saturn.ad $(DESTDIR)/etc/X11/app-defaults/Saturn
|
install -c -m 644 dist/Saturn.ad $(DESTDIR)/etc/X11/app-defaults/Saturn
|
||||||
|
|
||||||
# install -c -m 755 dist/mkcard $(DESTDIR)$(PREFIX)/share/x48ng/mkcard
|
|
||||||
# install -c -m 755 dist/dump2rom $(DESTDIR)$(PREFIX)/share/x48ng/dump2rom
|
|
||||||
# install -c -m 755 dist/checkrom $(DESTDIR)$(PREFIX)/share/x48ng/checkrom
|
|
||||||
# install -c -m 644 dist/hplogo.png $(DESTDIR)$(PREFIX)/share/x48ng/hplogo.png
|
|
||||||
# cp -R dist/ROMs/ $(DESTDIR)$(PREFIX)/share/x48ng/
|
|
||||||
# sed "s|@PREFIX@|$(PREFIX)|g" dist/setup-x48ng-home.sh > $(DESTDIR)$(PREFIX)/share/x48ng/setup-x48ng-home.sh
|
|
||||||
# chmod 755 $(DESTDIR)$(PREFIX)/share/x48ng/setup-x48ng-home.sh
|
|
||||||
|
|
||||||
# install -m 755 -d -- $(DESTDIR)$(MANDIR)/man1
|
# install -m 755 -d -- $(DESTDIR)$(MANDIR)/man1
|
||||||
# sed "s|@VERSION@|$(VERSION_MAJOR).$(VERSION_MINOR).$(PATCHLEVEL)|g" dist/x48ng.man.1 > $(DESTDIR)$(MANDIR)/man1/x48ng.1
|
# sed "s|@VERSION@|$(VERSION_MAJOR).$(VERSION_MINOR).$(PATCHLEVEL)|g" dist/x48ng.man.1 > $(DESTDIR)$(MANDIR)/man1/x48ng.1
|
||||||
|
|
||||||
install -m 755 -d -- $(DESTDIR)$(DOCDIR)
|
install -m 755 -d -- $(DESTDIR)$(DOCDIR)
|
||||||
cp -R COPYING LICENSE README* docs* manual/ $(DESTDIR)$(DOCDIR)
|
cp -R COPYING LICENSE README* docs* manual/ $(DESTDIR)$(DOCDIR)
|
||||||
|
|
||||||
# install -m 755 -d -- $(DESTDIR)$(PREFIX)/share/applications
|
install -m 755 -d -- $(DESTDIR)$(PREFIX)/share/applications
|
||||||
# sed "s|@PREFIX@|$(PREFIX)|g" dist/x48ng.desktop > $(DESTDIR)$(PREFIX)/share/applications/x48ng.desktop
|
sed "s|@PREFIX@|$(PREFIX)|g" dist/saturn48gx.desktop > $(DESTDIR)$(PREFIX)/share/applications/saturn48gx.desktop
|
||||||
|
|
BIN
dist/hplogo.png
vendored
Normal file
BIN
dist/hplogo.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.4 KiB |
9
dist/saturn48gx.desktop
vendored
Normal file
9
dist/saturn48gx.desktop
vendored
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Encoding=UTF-8
|
||||||
|
Version=1.0
|
||||||
|
Type=Application
|
||||||
|
Terminal=false
|
||||||
|
Exec=@PREFIX@/bin/saturn48gx
|
||||||
|
Name=saturn48gx
|
||||||
|
Icon=@PREFIX@/share/saturn/hplogo.png
|
||||||
|
Categories=Utility;
|
Loading…
Reference in a new issue