mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
Makefile: have the default invocation safer.
Don't modify $(PREFIX) from 'make', only from 'make install'.
This commit is contained in:
parent
75d62b9657
commit
984b4acd78
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
|
@ -4,6 +4,10 @@ INSTALL?=install -c
|
|||
PREFIX?=/usr/local
|
||||
SHARE_DIR=$(DESTDIR)$(PREFIX)/share/$(NAME)
|
||||
|
||||
# Have the default target do nothing.
|
||||
all:
|
||||
@ :
|
||||
|
||||
install:
|
||||
$(INSTALL) -d $(SHARE_DIR)
|
||||
cp -r zsh-syntax-highlighting.zsh highlighters $(SHARE_DIR)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue