add zip task to Makefile

pull/611/head
Dustin Falgout 2016-10-22 20:36:07 -05:00
parent 5f85cecdc6
commit 5ccc199112
1 changed files with 7 additions and 0 deletions

View File

@ -8,6 +8,7 @@ RES_DIR320=src/gtk-3.20
SCSS_DIR320=$(RES_DIR320)/scss
DIST_DIR320=$(RES_DIR320)/dist
INSTALL_DIR=$(DESTDIR)/usr/share/themes/Numix
ROOT_DIR=${PWD}
UTILS=scripts/utils.sh
all: clean gresource
@ -31,6 +32,7 @@ clean:
rm -f $(RES_DIR)/gtk.gresource
rm -rf $(DIST_DIR320)
rm -f $(RES_DIR320)/gtk.gresource
rm -rf $(ROOT_DIR)/dist
install: all
$(UTILS) install $(INSTALL_DIR)
@ -41,6 +43,11 @@ uninstall:
changes:
$(UTILS) changes
zip: all
mkdir $(ROOT_DIR)/dist
$(UTILS) install $(ROOT_DIR)/dist/Numix
cd $(ROOT_DIR)/dist && zip --symlinks -rq Numix Numix
.PHONY: all
.PHONY: css