forked from CorvetteCole/blur-my-shell
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Makefile
37 lines (24 loc) · 916 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
SHARED_VM = $(HOME)/Projects/.shared/
.PHONY: build_pkg build vm_test install remove clean
build: clean
glib-compile-schemas src/schemas
mkdir -p build/
cp -r src/* build/
rm -f build/prefs.ui~
build_pkg: build
mkdir -p pkg/
cd build/ && zip -r ../pkg/[email protected] .
vm_test: build
rm -rf $(SHARED_VM)/blur_my_shell/blur-me@nunchucks
mkdir -p $(SHARED_VM)/blur_my_shell/blur-me@nunchucks
cp -r build/* $(SHARED_VM)/blur_my_shell/blur-me@nunchucks/
vm_pkg: build_pkg
cp pkg/[email protected] $(SHARED_VM)/blur_my_shell/[email protected]
install: build
rm -rf $(HOME)/.local/share/gnome-shell/extensions/blur-me@nunchucks
mkdir -p $(HOME)/.local/share/gnome-shell/extensions/blur-me@nunchucks
cp -r build/* $(HOME)/.local/share/gnome-shell/extensions/blur-me@nunchucks/
remove:
rm -rf $(HOME)/.local/share/gnome-shell/extensions/blur-me@nunchucks
clean:
rm -rf pkg/ build/