forked from bellini666/gnome-shell-notifications-alert
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (20 loc) · 595 Bytes
/
Makefile
File metadata and controls
25 lines (20 loc) · 595 Bytes
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
UUID=notifications-alert-on-user-menu@hackedbellini.gmail.com
INSTALL_PATH=~/.local/share/gnome-shell/extensions/$(UUID)
ZIP_PATH=$(UUID).zip
SRC_PATH=src
SCHEMAS_PATH=$(SRC_PATH)/schemas
zip-file:
glib-compile-schemas $(SCHEMAS_PATH) \
--targetdir=$(SCHEMAS_PATH) \
--strict && \
cd $(SRC_PATH) && \
zip -r ../$(ZIP_PATH) . && \
cd ..
install: zip-file
mkdir -p $(INSTALL_PATH) && \
unzip -o $(ZIP_PATH) -d $(INSTALL_PATH)
uninstall:
rm $(INSTALL_PATH) -rf
clean:
rm $(UUID).zip $(SCHEMAS_PATH)/gschemas.compiled
.PHONY: zip-file