forked from i3-gnome/i3-gnome
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
27 lines (22 loc) · 1011 Bytes
/
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
INSTALL = install
PREFIX ?= /usr
PATH_BSPWM_GNOME = $(PREFIX)/bin/bspwm-gnome
PATH_BSPWM_GNOME_DESKTOP = $(PREFIX)/share/applications/bspwm-gnome.desktop
PATH_BSPWM_GNOME_SESSION = $(PREFIX)/share/gnome-session/sessions/bspwm-gnome.session
PATH_BSPWM_GNOME_XSESSION = $(PREFIX)/share/xsessions/bspwm-gnome.desktop
PATH_GNOME_SESSION_BSPWM = $(PREFIX)/bin/gnome-session-bspwm
all:
@echo "Nothing to do"
install:
$(INSTALL) -m0644 -D session/bspwm-gnome-xsession.desktop $(PATH_BSPWM_GNOME_XSESSION)
$(INSTALL) -m0644 -D session/bspwm-gnome.desktop $(PATH_BSPWM_GNOME_DESKTOP)
$(INSTALL) -m0644 -D session/bspwm-gnome.session $(PATH_BSPWM_GNOME_SESSION)
$(INSTALL) -m0755 -D session/bspwm-gnome $(PATH_BSPWM_GNOME)
$(INSTALL) -m0755 -D session/gnome-session-bspwm $(PATH_GNOME_SESSION_BSPWM)
uninstall:
rm -f $(PATH_BSPWM_GNOME)
rm -f $(PATH_BSPWM_GNOME_DESKTOP)
rm -f $(PATH_BSPWM_GNOME_SESSION)
rm -f $(PATH_BSPWM_GNOME_XSESSION)
rm -f $(PATH_GNOME_SESSION_BSPWM)
.PHONY: all install uninstall