repo/vim/build

12 lines
475 B
Text
Raw Permalink Normal View History

echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h &&
echo '#define SYS_GVIMRC_FILE "/etc/gvimrc"' >> src/feature.h &&
./configure --prefix=/usr --with-features=huge --enable-gui=gtk3 --with-tlib=ncursesw
make
make DESTDIR="$1"
ln -snfv ../vim/vim82/doc $1/usr/share/doc/vim-8.2.2890
rsync -avzcP --exclude="$1/dos/" --exclude="/spell/" \
ftp.nluug.nl::Vim/runtime/ ./runtime/
make -C src installruntime
vim -c ":helptags /usr/share/doc/vim-8.2.2890" -c ":q"