mirror of
https://github.com/Raimondi/delimitMate.git
synced 2025-12-06 12:44:27 +08:00
Merge pull request #167 from blueyed/makefile-detect-sed
Detect $SED dynamically, but do not force `gsed`
This commit is contained in:
2
Makefile
2
Makefile
@@ -10,7 +10,7 @@ VERSION = $(shell $(SED) -n -e '/Current \+release/{s/^ \+\([0-9.]\+\).*/\1/;p
|
|||||||
FILENAME = $(NAME)-$(VERSION)
|
FILENAME = $(NAME)-$(VERSION)
|
||||||
DESTDIR = $(HOME)/.vim
|
DESTDIR = $(HOME)/.vim
|
||||||
VIM = vim
|
VIM = vim
|
||||||
SED = gsed
|
SED = $(shell command -v gsed || command -v sed)
|
||||||
PERL = perl
|
PERL = perl
|
||||||
comma := ,
|
comma := ,
|
||||||
empty :=
|
empty :=
|
||||||
|
|||||||
Reference in New Issue
Block a user