Steven M. Christensen wrote:
>
> Vector -
>
> If you move bmore.help you probably have to fix a number of files that 
> reference that file.  Do a
>
> grep bmore.help *
>
> in the bmore source directory and fix any files that refer
> to bmore.help's location.   Randomly moving a help file will break its 
> use I think.
>
> Steve C.
Hi Steven,
Thanks for your kind reminder.

bmore.help is used by bmore.c, and there is a constant variable to 
define it,
 39 #ifndef HELPFILE
 40 #  ifdef DJGPP
 41 #   define HELPFILE "/dev/env/DJDIR/lib/bmore.help"
 42 #  else
 43 #   define HELPFILE "/usr/local/lib/bmore.help"
 44 #  endif
 45 #endif
If we change the location of bmore.help, we will run configure as:
$ ./configure --libdir=<location of bmore.help>
e.g.
$ ./configure --libdir=/usr/share/bvi
then build it,
$ make
...
cc -g  -D_MSE_INT_H -DHAVE_CONFIG_H 
-DHELPFILE=\"/usr/share/bvi/bmore.help\" -c bmore.c
...
And I defined libdir in Makefile.sfw,
CONFIGURE_OPTIONS += --libdir=$(CFGPREFIX)/share/bvi

So I think it could work well after we move bmore.help from /usr/lib to 
/usr/share/bvi.

-- 
Regards,
Vector
Tel: +86-10-6267-3534 | SWAN: x80534


Reply via email to