forked from lunaneff/gnome-shell-extension-zenbook-duo
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
33 lines (27 loc) · 846 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
VERSION = 5
EXTENSION_INSTALL_DIR = "$(HOME)/.local/share/gnome-shell/extensions/zenbook-duo@laurinneff.ch"
FILES += extension.js
FILES += utils.js
FILES += keybindings.js
FILES += prefs.js
FILES += prefs.ui
FILES += metadata.json
FILES += stylesheet.css
FILES += scripts/installer.sh
FILES += scripts/screenpad
FILES += polkit/org.gnome.shell.extensions.zenbook-duo.policy.in
FILES += polkit/org.gnome.shell.extensions.zenbook-duo.rules
FILES += schemas/gschemas.compiled
build:
echo Compiling schemas...
glib-compile-schemas schemas
clean:
rm -rf schemas/gschemas.compiled target
package: build
rm -rf target
mkdir -p target
zip target/zenbook-duo-$(VERSION).zip $(FILES)
install: package
rm -rf $(EXTENSION_INSTALL_DIR)
mkdir -p "$(EXTENSION_INSTALL_DIR)"
unzip -o target/zenbook-duo-$(VERSION).zip -d "$(EXTENSION_INSTALL_DIR)"