From: Alecs K. <al...@pe...> - 2004-07-13 12:01:36
|
On Tue, Jul 13, 2004 at 10:55:11AM +0100, Simon Liang wrote: > On Sat, 10 Jul 2004 16:13:00 +0800, "Alecs King" <al...@pe...> > said: > > 1) Why hard-coded the $VIM_PATH instead of checking $VIMRUNTIME like our > > old script did? > > I'd thought that most of the user uses the vim that came with the > Linux/BSD > distro. And they should reside in /usr/. If not, adding > '/usr/share/vim/vimfiles' isn't > to rtp that hard either. E.g. Here on FreeBSD (5.2-current), vim is installed to /usr/local/share/vim/vim63/ with no 'vimfiles' sub-directory. I think it's better to check $VIMRUNTIME to support various vim installations. > > 2) Not root, you cant install files to $VIMCDOC_PATH. Sorry. I overlooked the $install_dist_files part. > > PS, as for $VIMCDOC_PATH, i prefer to use /usr/local/... instead of > > /usr/share. > hmm. The only reason I choosed /usr is because it has a better chance of > 'work > out of box'. What would you prefer? Auto-detection? > I dunno if it's a (loose?) convention. But usually all those manually installed software goes to /usr/local/share. (That is, default prefix is /usr/local). Not a big deal, anyway. 3) The '-D' option of 'install' is a GNU/Linux style option, whereas BSD install does not have this option but '-d' instead. (Back to use mkdir & cp?) Regards, |