-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Makefile
47 lines (42 loc) · 3.02 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
default: help
help:
@echo "Use setup.py to build"
@echo "Extra make targets available:"
@echo " install-autostart - install autostart files (xdg)"
@echo " install-icons - install icons"
@echo " install - calls all of the above (but calling setup.py is still necessary)"
install-icons:
mkdir -p $(DESTDIR)/usr/share/icons/hicolor/scalable/apps
cp icons/qappmenu-dispvm-child.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/qappmenu-dispvm-child.svg
cp icons/qappmenu-favorites.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/qappmenu-favorites.svg
cp icons/qappmenu-favorites-blue.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/qappmenu-favorites-blue.svg
cp icons/qappmenu-grab-handle.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/qappmenu-grab-handle.svg
cp icons/qappmenu-networking-no.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/qappmenu-networking-no.svg
cp icons/qappmenu-networking-vpn.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/qappmenu-networking-vpn.svg
cp icons/qappmenu-networking-yes.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/qappmenu-networking-yes.svg
cp icons/qappmenu-power.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/qappmenu-power.svg
cp icons/qappmenu-qube.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/qappmenu-qube.svg
cp icons/qappmenu-search.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/qappmenu-search.svg
cp icons/qappmenu-settings.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/qappmenu-settings.svg
cp icons/appmenu-settings-program-icon.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/appmenu-settings-program-icon.svg
cp icons/qappmenu-pause.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/qappmenu-pause.svg
cp icons/qappmenu-start.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/qappmenu-start.svg
cp icons/qappmenu-shutdown.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/qappmenu-shutdown.svg
cp icons/qappmenu-top-left.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/qappmenu-top-left.svg
cp icons/qappmenu-top-right.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/qappmenu-top-right.svg
cp icons/qappmenu-bottom-left.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/qappmenu-bottom-left.svg
cp icons/qappmenu-bottom-right.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/qappmenu-bottom-right.svg
cp icons/settings-*.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/
install-autostart:
mkdir -p $(DESTDIR)/etc/xdg/autostart
cp autostart/qubes-app-menu.desktop $(DESTDIR)/etc/xdg/autostart
mkdir -p $(DESTDIR)/usr/share/applications
cp desktop_files/open-qubes-app-menu.desktop $(DESTDIR)/usr/share/applications/
cp desktop_files/qubes-appmenu-settings.desktop $(DESTDIR)/usr/share/applications/
mkdir -p $(DESTDIR)/lib/systemd/user/
cp service_files/qubes-app-menu.service $(DESTDIR)/lib/systemd/user/
mkdir -p $(DESTDIR)/usr/share/dbus-1/services/
cp service_files/dbus-qubes-app-menu.service $(DESTDIR)/usr/share/dbus-1/services/
install: install-autostart install-icons
.PHONY: clean
clean: