-
Notifications
You must be signed in to change notification settings - Fork 39
/
Makefile
39 lines (33 loc) · 1.37 KB
/
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
all: pot update-po build
build: schemas
mkdir -p "./dist"
gnome-extensions pack \
--force \
--extra-source=ui \
--extra-source=convenienceExt.js \
--extra-source=conveniencePref.js \
--extra-source=indicator.js \
--extra-source=shortcut.js \
./[email protected]/ \
--out-dir=./dist
install:
gnome-extensions install \
--force \
"./dist/display-brightness-ddcutil@themightydeity.github.com.shell-extension.zip"
pot:
mkdir -p "./[email protected]/po"
xgettext \
--from-code=UTF-8 \
--output="./[email protected]/po/display-brightness-ddcutil.pot" \
"./[email protected]/extension.js" \
"./[email protected]/shortcut.js"
update-po:
done
schemas:
glib-compile-schemas ./[email protected]/schemas
clean:
rm -f "./dist/display-brightness-ddcutil@themightydeity.github.com.shell-extension.zip"
rm -f "./[email protected]/schemas/gschemas.compiled"