forked from l300lvl/Gnome-Shell-Window-Buttons-Extension
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMakefile
More file actions
24 lines (20 loc) · 638 Bytes
/
Makefile
File metadata and controls
24 lines (20 loc) · 638 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#=============================================================================
UUID=window_buttons@biox.github.com
FILES=metadata.json *.js stylesheet.css schemas themes
#=============================================================================
default_target: all
.PHONY: clean all zip
clean:
@rm -f $(UUID).zip $(UUID)/schemas/gschemas.compiled
# compile the schemas
all: clean
@if [ -d $(UUID)/schemas ]; then \
glib-compile-schemas $(UUID)/schemas; \
fi
# to put on the Downloads page
zip: all
zip -rq $(UUID).zip $(FILES:%=$(UUID)/%)
# to upload to e.g.o
dev-zip: all
(cd $(UUID); \
zip -rq ../$(UUID).zip $(FILES))