diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2012-05-16 15:31:33 +0100 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2012-05-16 15:31:33 +0100 |
commit | 592b8c975bf83b4dcf608769bc664a80cb1daf9e (patch) | |
tree | 4d2c0d751c7013dffcf1d6b28d73eb272e1039d4 | |
parent | f4400034f76e61067b116a31698d12fcb37b7f87 (diff) | |
download | vim-592b8c975bf83b4dcf608769bc664a80cb1daf9e.tar.gz |
vim.morph: install example vimrc as /etc/vimrc
This sets things like nocompatible, so vim behaves like it usually
does, rather than what vi does.
-rw-r--r-- | vim.morph | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -3,7 +3,12 @@ "kind": "chunk", "build-system": "autotools", "configure-commands": [ - "echo '#define SYS_VIMRC_FILE \"/etc/vimrc\"' >>src/feature.h", - "./configure --prefix=/usr --enable-multibyte" + "echo '#define SYS_VIMRC_FILE \"/etc/vimrc\"' >>src/feature.h", + "./configure --prefix=\"$PREFIX\" --enable-multibyte" + ], + "install-commands": [ + "make DESTDIR=\"$DESTDIR\" install", + "mkdir -p \"$DESTDIR\"/etc", + "install -m 644 runtime/vimrc_example.vim \"$DESTDIR\"/etc/vimrc" ] } |