From 63a009669a7ed6aa6040f0af008adfb62829188c Mon Sep 17 00:00:00 2001
From: Roman Perepelitsa <roman.perepelitsa@gmail.com>
Date: Fri, 2 Jul 2021 14:28:20 +0200
Subject: Squashed 'gitstatus/' changes from 68bf9e0d..4b4226ca

4b4226ca add 'minify' make target and invoke it from 'pkg'

git-subtree-dir: gitstatus
git-subtree-split: 4b4226ca86fef6d0491ab9e863c9df6864dc9642
---
 Makefile | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index b3001c34..6040cbb1 100644
--- a/Makefile
+++ b/Makefile
@@ -34,11 +34,13 @@ $(OBJDIR)/%.o: src/%.cc Makefile build.info | $(OBJDIR)
 clean:
 	rm -rf -- $(OBJDIR)
 
-pkg:
-	GITSTATUS_DAEMON= GITSTATUS_CACHE_DIR=$(shell pwd)/usrbin ./install -f
-	$(or $(ZSH),:) -fc 'for f in *.zsh install; do zcompile -R -- $$f.zwc $$f || exit; done'
-
 zwc:
 	$(or $(ZSH),:) -fc 'for f in *.zsh install; do zcompile -R -- $$f.zwc $$f || exit; done'
 
+minify:
+	rm -rf -- .git .vscode deps docs src usrbin/.gitkeep .clang-format .gitattributes .gitignore LICENSE Makefile README.md build mbuild
+
+pkg: zwc minify
+	GITSTATUS_DAEMON= GITSTATUS_CACHE_DIR=$(shell pwd)/usrbin ./install -f
+
 -include $(OBJS:.o=.dep)
-- 
cgit v1.2.3