diff options
author | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2020-11-24 14:32:19 +0300 |
---|---|---|
committer | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2020-11-24 14:32:19 +0300 |
commit | 21df7db2b2d51526abad93e9415ce91823c808a0 (patch) | |
tree | c51ba532154639a6945272d640b60bd24d57367c /gitstatus/Makefile | |
parent | 31ede3c1d348783239dbce37ae4123ae439d99a8 (diff) | |
parent | 39cf063480f6a378dadc802c174e96112c38c0c0 (diff) |
Merge commit '39cf063480f6a378dadc802c174e96112c38c0c0'
Diffstat (limited to 'gitstatus/Makefile')
-rw-r--r-- | gitstatus/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gitstatus/Makefile b/gitstatus/Makefile index d665af1f..b217d24b 100644 --- a/gitstatus/Makefile +++ b/gitstatus/Makefile @@ -2,6 +2,7 @@ APPNAME ?= gitstatusd OBJDIR ?= obj CXX ?= g++ +ZSH ?= $(shell command -v zsh 2> /dev/null) VERSION ?= $(shell . ./build.info && printf "%s" "$$gitstatus_version") @@ -33,4 +34,8 @@ $(OBJDIR)/%.o: src/%.cc Makefile build.info | $(OBJDIR) clean: rm -rf -- $(OBJDIR) +pkg: + GITSTATUS_DAEMON= GITSTATUS_CACHE_DIR=$(PWD)/usrbin ./install -f + $(or $(ZSH),:) -fc 'for f in *.zsh install; do zcompile -R -- $$f.zwc $$f || exit; done' + -include $(OBJS:.o=.dep) |