diff --git a/Makefile b/Makefile index 14475a5..692dabd 100644 --- a/Makefile +++ b/Makefile @@ -17,6 +17,7 @@ install: all $(INSTALL) -d $(DOC_DIR) cp .version zsh-syntax-highlighting.zsh $(SHARE_DIR) cp COPYING.md README.md changelog.md $(DOC_DIR) + sed -e '1s/ .*//' -e '/^\[build-status-[a-z]*\]: /d' < README.md > $(DOC_DIR)/README.md if [ x"true" = x"`git rev-parse --is-inside-work-tree 2>/dev/null`" ]; then \ git rev-parse HEAD; \ else \ diff --git a/README.md b/README.md index 702d980..04c7882 100644 --- a/README.md +++ b/README.md @@ -76,9 +76,5 @@ Syntax highlighting is done by pluggable highlighter scripts. See the [documentation on highlighters](docs/highlighters.md) for details and configuration settings. - - - [build-status-image]: https://travis-ci.org/zsh-users/zsh-syntax-highlighting.svg?branch=master [build-status-travis]: https://travis-ci.org/zsh-users/zsh-syntax-highlighting -