Skip to content

Commit

Permalink
allow pass PREFIX to install command:
Browse files Browse the repository at this point in the history
 this allow, for example install into bundle: make install
PREFIX=~/.vim/bundles/vim-perl (see Pathogen plugin
http://www.vim.org/scripts/script.php?script_id=2332)
  • Loading branch information
vovkasm authored and petdance committed Dec 30, 2010
1 parent 1df32fb commit 880e6a4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
FTPLUGIN=$(HOME)/.vim/ftplugin
INDENT=$(HOME)/.vim/indent
SYNTAX=$(HOME)/.vim/syntax
PREFIX?=$(HOME)/.vim

FTPLUGIN=$(PREFIX)/ftplugin
INDENT=$(PREFIX)/indent
SYNTAX=$(PREFIX)/syntax

default:
@echo There is no default target.
Expand Down

0 comments on commit 880e6a4

Please sign in to comment.