Added icon and makefile
This commit is contained in:
23
Makefile
Normal file
23
Makefile
Normal file
@@ -0,0 +1,23 @@
|
||||
.PHONY: all install uninstall build
|
||||
PREFIX ?= /usr
|
||||
|
||||
all: bindings build
|
||||
|
||||
bindings:
|
||||
shards install
|
||||
./bin/gi-crystal
|
||||
|
||||
build:
|
||||
shards build -Dpreview_mt --release --no-debug
|
||||
|
||||
install:
|
||||
install -D -m 0755 bin/wince $(PREFIX)/bin/wince
|
||||
install -D -m 0644 data/space.quietfeathers.wince.desktop $(PREFIX)/share/applications/space.quietfeathers.wince.desktop
|
||||
install -D -m 0644 data/img/space.quietfeathers.wince.svg $(PREFIX)/share/icons/hicolor/scalable/apps/space.quietfeathers.wince.svg
|
||||
gtk-update-icon-cache /usr/share/icons/hicolor
|
||||
|
||||
uninstall:
|
||||
rm -f $(PREFIX)/bin/wince
|
||||
rm -f $(PREFIX)/share/applications/space.quietfeathers.wince.desktop
|
||||
rm -f $(PREFIX)/share/icons/hicolor/scalable/apps/space.quietfeathers.wince.svg
|
||||
gtk-update-icon-cache /usr/share/icons/hicolor
|
||||
Reference in New Issue
Block a user