'make install': Install .version and .revision-hash.
This commit is contained in:
commit
379ab0d34e
7
Makefile
7
Makefile
|
@ -10,7 +10,12 @@ all:
|
||||||
|
|
||||||
install:
|
install:
|
||||||
$(INSTALL) -d $(SHARE_DIR)
|
$(INSTALL) -d $(SHARE_DIR)
|
||||||
cp -r zsh-syntax-highlighting.zsh highlighters $(SHARE_DIR)
|
cp -r .version zsh-syntax-highlighting.zsh highlighters $(SHARE_DIR)
|
||||||
|
if [ x"true" = x"`git rev-parse --is-inside-work-tree 2>/dev/null`" ]; then \
|
||||||
|
git rev-parse HEAD; \
|
||||||
|
else \
|
||||||
|
cat .revision-hash; \
|
||||||
|
fi > $(SHARE_DIR)/.revision-hash
|
||||||
|
|
||||||
test:
|
test:
|
||||||
@result=0
|
@result=0
|
||||||
|
|
Loading…
Reference in New Issue