-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
22 lines (20 loc) · 1.46 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.PHONY: all install uninstall
PREFIX ?= /app
install:
install -D -m 0755 com.github.jeysonflores.elementarylua $(PREFIX)/bin/com.github.jeysonflores.elementarylua
install -D -m 0644 src/Application.lua $(PREFIX)/bin/elementarylua/src/Application.lua
install -D -m 0644 src/MainWindow.lua $(PREFIX)/bin/elementarylua/src/MainWindow.lua
install -D -m 0644 src/WelcomeView.lua $(PREFIX)/bin/elementarylua/src/WelcomeView.lua
install -D -m 0644 data/com.github.jeysonflores.elementarylua.gschema.xml $(PREFIX)/share/glib-2.0/schemas/com.github.jeysonflores.elementarylua.gschema.xml
install -D -m 0644 data/com.github.jeysonflores.elementarylua.desktop $(PREFIX)/share/applications/com.github.jeysonflores.elementarylua.desktop
install -D -m 0644 data/assets/icons/com.github.jeysonflores.elementarylua.svg $(PREFIX)/share/icons/hicolor/scalable/apps/com.github.jeysonflores.elementarylua.svg
glib-compile-schemas $(PREFIX)/share/glib-2.0/schemas/
uninstall:
rm -f $(PREFIX)/bin/com.github.jeysonflores.elementarylua
rm -f $(PREFIX)/bin/elementarylua/src/Application.lua
rm -f $(PREFIX)/bin/elementarylua/src/MainWindow.lua
rm -f $(PREFIX)/bin/elementarylua/src/WelcomeView.lua
rm -f $(PREFIX)/share/glib-2.0/schemas/com.github.jeysonflores.elementarylua.gschema.xml
rm -f $(PREFIX)/share/icons/hicolor/scalable/apps/com.github.jeysonflores.elementarylua.svg
gtk-update-icon-cache $(PREFIX)/share/icons/hicolor/share/icons/hicolor
glib-compile-schemas $(PREFIX)/share/glib-2.0/schemas/