-
Notifications
You must be signed in to change notification settings - Fork 10
/
Makefile
41 lines (27 loc) · 918 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
32
33
34
35
36
37
38
39
40
41
NAME = panel-corners
UUID = $(NAME)@aunetx
.PHONY: build install pot test-shell test-prefs remove clean
build: clean
mkdir -p build/
cd src && gnome-extensions pack -f \
--extra-source=../metadata.json \
--extra-source=../resources/ui \
--extra-source=./conveniences \
--extra-source=./utils.js \
--extra-source=./panel_corner.js \
--extra-source=./screen_corner.js \
--schema=../schemas/org.gnome.shell.extensions.$(NAME).gschema.xml \
-o ../build
install: build remove
gnome-extensions install -f build/$(UUID).shell-extension.zip
test-prefs: install
gnome-extensions prefs $(UUID)
test-shell: install
env GNOME_SHELL_SLOWDOWN_FACTOR=2 \
MUTTER_DEBUG_DUMMY_MODE_SPECS=1500x1000 \
MUTTER_DEBUG_DUMMY_MONITOR_SCALES=1 \
dbus-run-session -- gnome-shell --nested --wayland
remove:
rm -rf $(HOME)/.local/share/gnome-shell/extensions/$(UUID)
clean:
rm -rf build/ po/*.mo