-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
31 lines (26 loc) · 694 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
28
29
30
31
UUID = [email protected]
ifeq ($(strip $(DESTDIR)),)
INSTALLTYPE = local
INSTALLBASE = $(HOME)/.local/share/gnome-shell/extensions
else
INSTALLTYPE = system
SHARE_PREFIX = $(DESTDIR)/usr/share
INSTALLBASE = $(SHARE_PREFIX)/gnome-shell/extensions
endif
INSTALLNAME = [email protected]
.PHONY: default
default: build
.PHONY: build
build:
glib-compile-schemas ./schemas
.PHONY: install
install: build
rm -rf $(INSTALLBASE)/$(INSTALLNAME)
mkdir -p $(INSTALLBASE)/$(INSTALLNAME)
cp -r ./ $(INSTALLBASE)/$(INSTALLNAME)
.PHONY: uninstall
uninstall:
rm -rf $(INSTALLBASE)/$(INSTALLNAME)
.PHONY: clean
clean:
rm -f ./schemas/gschemas.compiled