]> git.madduck.net Git - etc/vim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Makefile: support DESTDIR
authorJiri Slaby <jirislaby@gmail.com>
Tue, 1 Dec 2015 09:58:00 +0000 (10:58 +0100)
committerJiri Slaby <jirislaby@gmail.com>
Tue, 1 Dec 2015 09:58:00 +0000 (10:58 +0100)
DESTDIR is set by distributors when packaging. So to be
able to use make install there, put DESTDIR in from of
PREFIX.

Makefile

index d929849deacb4e2d139bfeb14d771318b309d290..4b2ed8d66950c173ddeb1e44880716b5712b71b8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-VIMDIR=/usr/share/vim
+VIMDIR=$(DESTDIR)/usr/share/vim
 ADDONS=${VIMDIR}/addons
 REGISTRY=${VIMDIR}/registry
 
 ADDONS=${VIMDIR}/addons
 REGISTRY=${VIMDIR}/registry