|
|
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: ! 12: BINPATH = $(DESTDIR)$(BINDIR) ! 13: SCRIPT = $(BINPATH)/hatariui ! 14: DATAPATH = $(DESTDIR)$(DATADIR)/hatariui ! 15: ICONPATH = $(prefix)/share/icons/hicolor/32x32/apps ! 16: DESKPATH = $(prefix)/share/applications ! 17: ! 18: all: ! 19: @echo "Nothing to build, just do 'make install'" ! 20: ! 21: install: ! 22: $(INSTALL) -d $(BINPATH) ! 23: $(INSTALL_SCRIPT) hatari-console.py $(BINPATH)/ ! 24: sed "s%^path=.*$$%path=$(DATAPATH)%" hatariui > $(SCRIPT) ! 25: chmod 755 $(SCRIPT) ! 26: $(INSTALL) -d $(DATAPATH) ! 27: $(INSTALL_SCRIPT) hatariui.py debugui.py $(DATAPATH)/ ! 28: $(INSTALL_DATA) config.py dialogs.py hatari.py uihelpers.py $(DATAPATH)/ ! 29: $(INSTALL_DATA) README TODO Changelog *.png $(DATAPATH)/ ! 30: $(INSTALL) -d $(ICONPATH) ! 31: $(INSTALL_DATA) hatari-icon.png $(ICONPATH)/ ! 32: $(INSTALL) -d $(DESKPATH) ! 33: $(INSTALL_DATA) hatariui.desktop $(DESKPATH)/
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.