Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

allow pass PREFIX to install command:

 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...
commit 880e6a4d7f41fcf7a11a5eaf067a8853ff4dc2a5 1 parent 1df32fb
@vovkasm vovkasm authored petdance committed
Showing with 5 additions and 3 deletions.
  1. +5 −3 Makefile
View
8 Makefile
@@ -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.
Please sign in to comment.
Something went wrong with that request. Please try again.