[102169] contrib/mpvim/Makefile
larryv at macports.org
larryv at macports.org
Mon Jan 28 22:14:21 PST 2013
Revision: 102169
https://trac.macports.org/changeset/102169
Author: larryv at macports.org
Date: 2013-01-28 22:14:21 -0800 (Mon, 28 Jan 2013)
Log Message:
-----------
mpvim: Fix Makefile to correctly support DESTDIR.
Use "make prefix=FOO install" to customize install location.
Modified Paths:
--------------
contrib/mpvim/Makefile
Modified: contrib/mpvim/Makefile
===================================================================
--- contrib/mpvim/Makefile 2013-01-29 01:00:57 UTC (rev 102168)
+++ contrib/mpvim/Makefile 2013-01-29 06:14:21 UTC (rev 102169)
@@ -1,11 +1,11 @@
.PHONY: all install
-DESTDIR=~/.vim
+prefix := ~/.vim
all:
install:
@for dir in compiler ftdetect ftplugin snippets syntax; do \
- mkdir -p $(DESTDIR)/$$dir/ ; \
- cp -rv $$dir/* $(DESTDIR)/$$dir/ ; \
+ mkdir -p $(DESTDIR)$(prefix)/$$dir/ ; \
+ cp -rv $$dir/* $(DESTDIR)$(prefix)/$$dir/ ; \
done
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130128/2db2c4ee/attachment.html>
More information about the macports-changes
mailing list