aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2021-07-02 15:28:20 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2021-07-02 15:28:20 +0300
commit63a009669a7ed6aa6040f0af008adfb62829188c (patch)
treea38b63cb1ec867b15d5902183862e67f6dc1f979 /Makefile
parent7759063b7485ca0701fc8ba1961d0e53568ddd59 (diff)
Squashed 'gitstatus/' changes from 68bf9e0d..4b4226ca
4b4226ca add 'minify' make target and invoke it from 'pkg' git-subtree-dir: gitstatus git-subtree-split: 4b4226ca86fef6d0491ab9e863c9df6864dc9642
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files 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)