Duplicate (almost) text in chap 6 vim

Tushar Teredesai tushar at linuxfromscratch.org
Tue Feb 4 17:20:04 PST 2003


Bill's LFS Login wrote:

>  * CPPFLAGS=-DSYS_VIMRC_FILE=\\\"/etc/vimrc\\\": This option above
>    causes vim to look for the /etc/vimrc file which contains vim's
>    global settings. Normally, this file is assumed to be located in
>    /usr/share/vim, but we feel that /etc is a more logical place for
>    this kind of file.
>  
>
I use a patch instead of passing vars to make, easier for the eyes:)

diff -ur vim61.orig/src/feature.h vim61/src/feature.h
--- vim61.orig/src/feature.h    2002-03-09 09:17:30.000000000 -0600
+++ vim61/src/feature.h 2003-02-03 21:42:41.000000000 -0600
@@ -826,12 +826,12 @@
 /*
  * SYS_VIMRC_FILE  Name of the system-wide .vimrc file.
  */
-/* #define SYS_VIMRC_FILE  "/etc/vimrc" */
+#define SYS_VIMRC_FILE "/etc/vimrc"

 /*
  * SYS_GVIMRC_FILE Name of the system-wide .gvimrc file.
  */
-/* #define SYS_GVIMRC_FILE "/etc/gvimrc" */
+#define SYS_GVIMRC_FILE    "/etc/gvimrc"

 /*
  * DFLT_HELPFILE   Name of the help file.


-- 
Tushar Teredesai
   http://www.linuxfromscratch.org/~tushar/
   http://www.geocities.com/tushar/


-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list