Skip to content

Commit 5ccc199

Browse files
committed
add zip task to Makefile
1 parent 5f85cec commit 5ccc199

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ RES_DIR320=src/gtk-3.20
88
SCSS_DIR320=$(RES_DIR320)/scss
99
DIST_DIR320=$(RES_DIR320)/dist
1010
INSTALL_DIR=$(DESTDIR)/usr/share/themes/Numix
11+
ROOT_DIR=${PWD}
1112
UTILS=scripts/utils.sh
1213

1314
all: clean gresource
@@ -31,6 +32,7 @@ clean:
3132
rm -f $(RES_DIR)/gtk.gresource
3233
rm -rf $(DIST_DIR320)
3334
rm -f $(RES_DIR320)/gtk.gresource
35+
rm -rf $(ROOT_DIR)/dist
3436

3537
install: all
3638
$(UTILS) install $(INSTALL_DIR)
@@ -41,6 +43,11 @@ uninstall:
4143
changes:
4244
$(UTILS) changes
4345

46+
zip: all
47+
mkdir $(ROOT_DIR)/dist
48+
$(UTILS) install $(ROOT_DIR)/dist/Numix
49+
cd $(ROOT_DIR)/dist && zip --symlinks -rq Numix Numix
50+
4451

4552
.PHONY: all
4653
.PHONY: css

0 commit comments

Comments
 (0)