@@ -28,32 +28,14 @@ sources = src/*.ts *.css
28
28
all : depcheck compile
29
29
30
30
clean :
31
- rm -rf _build schemas/gschemas.compiled target
32
-
33
- transpile : $(sources ) clean
34
- tsc
35
- for proj in $( PROJECTS) ; do tsc --p src/$$ {proj}; done
31
+ rm -rf _build target
36
32
37
33
# Configure local settings on system
38
34
configure :
39
- if ! command -v gnome-extensions > /dev/null; then \
40
- echo ' You must install gnome-extensions to configure or enable via this script' \
41
- ' (`gnome-shell` on Debian systems, `gnome-extensions` on openSUSE systems.)' ; \
42
- exit 1; \
43
- fi
44
35
sh scripts/configure.sh
45
36
46
- convert : transpile
47
- sh scripts/transpile.sh
48
-
49
- compile : convert metadata.json schemas
50
- rm -rf _build
51
- mkdir -p _build
52
- cp -r metadata.json icons schemas target/* .js * .css _build
53
- for proj in $( PROJECTS) ; do \
54
- mkdir -p _build/$$ {proj}; \
55
- cp -r target/$$ {proj}/* .js _build/$$ {proj}; \
56
- done
37
+ compile : $(sources ) clean
38
+ env PROJECTS=" $( PROJECTS) " sh scripts/transpile.sh
57
39
58
40
# Rebuild, install, reconfigure local settings, restart shell, and listen to journalctl logs
59
41
debug : depcheck compile install install-system76-plugins configure enable restart-shell listen
@@ -75,7 +57,7 @@ disable:
75
57
listen :
76
58
journalctl -o cat -n 0 -f " $$ (which gnome-shell)" | grep -v warning
77
59
78
- local-install : depcheck compile install configure restart-shell enable
60
+ local-install : depcheck compile install install-system76-plugins configure enable restart-shell
79
61
80
62
install :
81
63
rm -rf $(INSTALLBASE ) /$(INSTALLNAME )
@@ -107,12 +89,5 @@ update-repository:
107
89
git reset --hard origin/master
108
90
git clean -fd
109
91
110
- schemas : schemas/gschemas.compiled
111
- touch $@
112
-
113
- schemas/gschemas.compiled : schemas/* .gschema.xml
114
- glib-compile-schemas schemas
115
-
116
92
zip-file : all
117
93
cd _build && zip -qr " ../$( UUID) _$( VERSION) .zip" .
118
-
0 commit comments