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 | 39cf063480f6a378dadc802c174e96112c38c0c0 (patch) | |
tree | 40638090ec42d2fbf44a307fa325b6403522aa44 /Makefile | |
parent | 28301be914dec6da5d1bbd21cd8511cd71b419ee (diff) |
Squashed 'gitstatus/' changes from 90cbb46b..ae213c54
ae213c54 add "pkg" target to makefile
a208375b comments
cdeb063d Give ListDir() the same semantics on BSD as on Linux
git-subtree-dir: gitstatus
git-subtree-split: ae213c540dd6924d3fb153a0860276897c9ba6c8
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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) |