|
|
1.1 root 1: # Makefile for installing Hatari UI
2: #
3: # TODO:
4: # - install separate startup/.desktop script for maemo
5: # - how to do byte-compile (*.pyc) and optimization (*.pyo)?
6:
7: # Include settings
8: include ../Makefile.cnf
9:
10: prefix ?= /usr
11:
1.1.1.2 ! root 12: SCRIPT = $(BINDIR)/hatariui
! 13: DATAPATH = $(DATADIR)/hatariui
1.1 root 14: ICONPATH = $(prefix)/share/icons/hicolor/32x32/apps
15: DESKPATH = $(prefix)/share/applications
16:
17: all:
18: @echo "Nothing to build, just do 'make install'"
19:
20: install:
1.1.1.2 ! root 21: $(INSTALL) -d $(DESTDIR)$(BINDIR)
! 22: $(INSTALL_SCRIPT) hatari-console.py $(DESTDIR)$(BINDIR)/
! 23: sed "s%^path=.*$$%path=$(DATAPATH)%" hatariui > $(DESTDIR)$(SCRIPT)
! 24: chmod 755 $(DESTDIR)$(SCRIPT)
! 25: $(INSTALL) -d $(DESTDIR)$(DATAPATH)
! 26: $(INSTALL_SCRIPT) hatariui.py debugui.py $(DESTDIR)$(DATAPATH)/
! 27: $(INSTALL_DATA) config.py dialogs.py hatari.py uihelpers.py $(DESTDIR)$(DATAPATH)/
! 28: $(INSTALL_DATA) README TODO Changelog *.png $(DESTDIR)$(DATAPATH)/
! 29: $(INSTALL) -d $(DESTDIR)$(ICONPATH)
! 30: $(INSTALL_DATA) hatari-icon.png $(DESTDIR)$(ICONPATH)/
! 31: $(INSTALL) -d $(DESTDIR)$(DESKPATH)
! 32: $(INSTALL_DATA) hatariui.desktop $(DESTDIR)$(DESKPATH)/
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.