From 5ccc199112740a11b7b4a8de9a0f9ca696d9a0c2 Mon Sep 17 00:00:00 2001 From: Dustin Falgout Date: Sat, 22 Oct 2016 20:36:07 -0500 Subject: [PATCH] add zip task to Makefile --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index a2395bd..5c1ca43 100755 --- a/Makefile +++ b/Makefile @@ -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