From a520f05b3a49604c9545a4456fc1da86395a35ac Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Sun, 25 Aug 2024 17:20:40 +0200 Subject: [PATCH] make install --- .gitignore | 1 + Makefile | 19 ++++++------------- dist/hplogo.png | Bin 0 -> 4456 bytes dist/saturn48gx.desktop | 9 +++++++++ 4 files changed, 16 insertions(+), 13 deletions(-) create mode 100644 dist/hplogo.png create mode 100644 dist/saturn48gx.desktop diff --git a/.gitignore b/.gitignore index e2eaa36..f9b930a 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ dist/saturn.cat dist/stateDir.* dist/ROMs/*rom-* +/manual/saturn.log diff --git a/Makefile b/Makefile index a3cf513..1ec5288 100644 --- a/Makefile +++ b/Makefile @@ -141,7 +141,7 @@ get-roms: make -C dist/ROMs get-roms # 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 -c -m 755 dist/saturn $(DESTDIR)$(PREFIX)/bin/saturn 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 -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/ - 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 -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 -m 755 -d -- $(DESTDIR)/etc/X11/app-defaults 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 # sed "s|@VERSION@|$(VERSION_MAJOR).$(VERSION_MINOR).$(PATCHLEVEL)|g" dist/x48ng.man.1 > $(DESTDIR)$(MANDIR)/man1/x48ng.1 install -m 755 -d -- $(DESTDIR)$(DOCDIR) cp -R COPYING LICENSE README* docs* manual/ $(DESTDIR)$(DOCDIR) - # install -m 755 -d -- $(DESTDIR)$(PREFIX)/share/applications - # sed "s|@PREFIX@|$(PREFIX)|g" dist/x48ng.desktop > $(DESTDIR)$(PREFIX)/share/applications/x48ng.desktop + install -m 755 -d -- $(DESTDIR)$(PREFIX)/share/applications + sed "s|@PREFIX@|$(PREFIX)|g" dist/saturn48gx.desktop > $(DESTDIR)$(PREFIX)/share/applications/saturn48gx.desktop diff --git a/dist/hplogo.png b/dist/hplogo.png new file mode 100644 index 0000000000000000000000000000000000000000..a4fff9fe4fdccab3f3c501f92d1b4f5b056461ca GIT binary patch literal 4456 zcmeHKYfuzd79LPulc4bhXhhnM; zJ$?J0ufKE7ch5c5cc)=hQm}BIP#_Ql>yowU;9kgIK2yN|Pd&XQ;C3-T)5xV0Zpg_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