forked from julio641742/extend-panel-menu
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
38 lines (31 loc) · 1.02 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
# Basic Makefile
UUID = extend-panel-menu@julio641742
BASE_MODULES = convenience.js extension.js LICENSE menuItems.js metadata.json prefs.js README.md stylesheet.css
INSTALLBASE = ~/.local/share/gnome-shell/extensions
INSTALLNAME = extend-panel-menu@julio641742
all: extension
clean:
rm -f ./schemas/gschemas.compiled
extension: ./schemas/gschemas.compiled
./schemas/gschemas.compiled: ./schemas/org.gnome.shell.extensions.extend-panel-menu.gschema.xml
glib-compile-schemas ./schemas/
install: install-local
install-local: build
rm -rf $(INSTALLBASE)/$(INSTALLNAME)
mkdir -p $(INSTALLBASE)/$(INSTALLNAME)
cp -r ./_build/* $(INSTALLBASE)/$(INSTALLNAME)/
-rm -fR _build
echo done
build: all
-rm -fR ./_build
mkdir -p _build
cp $(BASE_MODULES) _build
mkdir -p _build/schemas
cp schemas/*.xml _build/schemas/
cp schemas/gschemas.compiled _build/schemas/
mkdir -p _build/locale
cp -r locale/* _build/locale/
mkdir -p _build/icons
cp -r icons/* _build/icons
mkdir -p _build/indicators
cp -r indicators/* _build/indicators