#!/bin/sh -e # part of the gn*nix conspiracy http://gnnix.org # Copyright (C) Linus Sphinx 2004 # func to make the distro system gnxvim() { gnxunwrap $VIM gnxfilelist start $VIM duh1=`echo $VIM | sed "s@-@@g"` duh2=`echo $duh1 | sed "s@\.@@g"` cd /usr/src/${duh2} echo changing to $duh2 echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h #echo '#define SYS_GVIMRC_FILE "/etc/gvimrc"' >> src/feature.h gnxconfigure --prefix=/usr --enable-gui=no --without-x gnxmake gnxmake install ln -s /usr/bin/vim /usr/bin/vi gnxfilelist finish $VIM } #eof