From d0251488589a77d8e6b15ee68ac48c910610bdce Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Mon, 31 Jul 2017 23:16:37 +0000 Subject: [PATCH] #440: docs: Remove the travis links from README during 'make install'. --- Makefile | 1 + README.md | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) 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 -