[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LYNX-DEV Some things I'd like in the next Lynx package.
From: |
Paul Gilmartin |
Subject: |
Re: LYNX-DEV Some things I'd like in the next Lynx package. |
Date: |
Sun, 9 Mar 1997 20:10:32 -0700 (MST) |
In a recent note, Subir Grewal said:
> Date: Sun, 9 Mar 1997 16:59:26 -0800 (PST)
>
> 2. Having 'make install' install the lynx_help heirarchy as well. I
> realize this might be problematic since it would mean getting the path
> right in both userdefs.h and lynx.cfg (perhaps a command line option
> could over-ride the default lynx_help location?). It could also be
> problematic for sites running more than one version of Lynx. But it would
> be nice to have help installed by default (though the k'eymap page
> suffices for basic help, the entire help heirarchy is a good thing to
> have).
>
I've done most of this. My motive was to be able to install into
a test hierarchy, then to install into a production hierarchy with
a one-line change in Makefile between test and production, followed
by "make machine-type; make install".
I have the patch. (available by request.) In summary:
1) Pass "-DSTARTFILE" and "-DLYNX_CFG_FILE" as compilation options in SITE_DEFS.
This is probably not the optimal place, but it's effective.
2) Wrap #ifdef around the definition of STARTFILE in userdefs.h. Fote
previously
did the same for definition of LYNX_CFG_FILE.
3) Add a dependency on the master Makefile to the LYMain.o target in
src/Makefile,
so LYMain gets rebuilt when I change the paths in Makefile.
4) Add an "installhelp:" target to install the help hierarchy with a "tar"
command.
(I also chose to install CHANGES, PROBLEMS, README, samples, and test.)
"installhelp" is a prerequisite to "install:"
5) Add an "installcfg:" target which installs lynx.cfg by passing it through
"sed"
to update the paths to the help hierarchy.
"installcfg" is a prerequisite to "install:"
-- gil
;
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;