forked from Noobsai/transparent-window-moving
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
28 lines (23 loc) · 807 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
#=============================================================================
UUID=transparent-window-moving@corvettecole.github.com
SRCDIR=src
BUILDDIR=build
EXTENSIONDIR=~/.local/share/gnome-shell/extensions
#=============================================================================
clean:
rm -rf $(BUILDDIR)
build: clean
mkdir -p $(BUILDDIR)
cp -r $(SRCDIR) $(BUILDDIR)/$(UUID)
glib-compile-schemas $(BUILDDIR)/$(UUID)/schemas/
zip: build
cd $(BUILDDIR)/$(UUID) && zip -r $(UUID).zip * && mv $(UUID).zip ../
install: uninstall build
mkdir -p $(EXTENSIONDIR)/$(UUID)
cp -r $(BUILDDIR)/$(UUID) $(EXTENSIONDIR)
uninstall:
rm -rf $(EXTENSIONDIR)/$(UUID)
debug_install: uninstall
glib-compile-schemas $(SRCDIR)/schemas/
ln -s "$(realpath ./)/$(SRCDIR)" $(UUID)
mv $(UUID) $(EXTENSIONDIR)