summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim.morph9
1 files changed, 7 insertions, 2 deletions
diff --git a/vim.morph b/vim.morph
index b74d1294..599da706 100644
--- a/vim.morph
+++ b/vim.morph
@@ -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"
]
}