1 diff -Nur lynx2-8-4.orig/configure.in lynx2-8-4/configure.in
2 --- lynx2-8-4.orig/configure.in Sun Jun 10 16:24:29 2001
3 +++ lynx2-8-4/configure.in Sun Jun 10 16:16:44 2001
5 cf_libdir=`echo $cf_libdir | sed -e s@'^NONE/'@$prefix/@ -e s@'^NONE/'@$ac_default_prefix/@`
7 AC_MSG_CHECKING(for location of config-file)
8 -LYNX_CFG_FILE=$cf_libdir/lynx.cfg
9 +LYNX_CFG_FILE=$sysconfdir/lynx.cfg
10 AC_DEFINE_UNQUOTED(LYNX_CFG_FILE,"$LYNX_CFG_FILE")
11 AC_MSG_RESULT($LYNX_CFG_FILE)
16 AC_MSG_CHECKING(for location of style-sheet file)
17 - LYNX_LSS_FILE=$cf_libdir/lynx.lss
18 + LYNX_LSS_FILE=$datadir/lynx/lynx.lss
19 AC_DEFINE_UNQUOTED(LYNX_LSS_FILE,"$LYNX_LSS_FILE")
20 AC_MSG_RESULT($LYNX_LSS_FILE)
21 INSTALL_LSS=install-lss
22 diff -Nur lynx2-8-4.orig/lynx.cfg lynx2-8-4/lynx.cfg
23 --- lynx2-8-4.orig/lynx.cfg Sun Jun 10 16:24:29 2001
24 +++ lynx2-8-4/lynx.cfg Sun Jun 10 16:16:44 2001
27 -# The default placement for this file is /usr/local/lib/lynx.cfg (Unix)
28 +# The default placement for this file is /etc/lynx.cfg (Unix)
29 # or Lynx_Dir:lynx.cfg (VMS)
32 # Definition pairs are of the form VARIABLE:DEFINITION
33 # NO spaces are allowed between the pair items.
35 -# If you do not have write access to /usr/local/lib you may change
36 +# If you do not have write access to /etc you may change
37 # the default location of this file in the userdefs.h file and recompile,
38 # or specify its location on the command line with the "-cfg"
39 # command line option.
44 -# INCLUDE:/usr/local/lib/lynx.cfg
45 -# ^^^^^^^^^^^^^^^^^^^^^^^ or whatever is appropriate on your system
46 +# INCLUDE:/etc/lynx.cfg
47 +# ^^^^^^^^^^^^^ or whatever is appropriate on your system
48 # and now your own tweaks.
50 # Starting with Lynx 2.8.2, the INCLUDE facility is yet more powerful. You can
52 # Normally we expect you will connect to a remote site, e.g., the Lynx starting
54 #STARTFILE:http://lynx.browser.org/
55 -STARTFILE:file://localhost/usr/share/doc/HTML/index.html
56 +#STARTFILE:file://localhost/usr/share/doc/HTML/index.html
57 +STARTFILE:file://localhost/~/
59 # As an alternative, you may want to use a local URL. A good choice for this is
60 # the user's home directory:
62 # This should be changed to the local path.
64 #HELPFILE:http://www.trill-home.com/lynx/lynx_help/lynx_help_main.html
66 -HELPFILE:file://localhost/usr/share/lynx/help/lynx_help_main.html
69 +#HELPFILE:file://localhost/usr/share/lynx/help/lynx_help_main.html.gz
71 .h2 DEFAULT_INDEX_FILE
72 # DEFAULT_INDEX_FILE is the default file retrieved when the
73 diff -Nur lynx2-8-4.orig/makefile.in lynx2-8-4/makefile.in
74 --- lynx2-8-4.orig/makefile.in Mon Apr 2 02:51:46 2001
75 +++ lynx2-8-4/makefile.in Sun Jun 10 16:29:52 2001
77 MANDIR= $(DESTDIR)$(mandir)
79 ## Where you want the lynx.cfg file installed
82 LIBDIR= $(DESTDIR)$(libdir)
84 ## Where you want the doc-files installed
85 -docdir= @libdir@/lynx_doc
86 +docdir= @datadir@/lynx_doc
87 DOCDIR= $(DESTDIR)$(docdir)
88 docdir1= $(shell echo "$(docdir)"|sed -e 's!^/!!')
90 ## Where you want the help-files installed
91 -helpdir= @libdir@/lynx_help
92 +helpdir= @datadir@/lynx/help
93 HELPDIR= $(DESTDIR)$(helpdir)
94 helpdir1= $(shell echo "$(helpdir)"|sed -e 's!^/!!')
97 @-rm -f help_files.tmp
99 install-help : help_files.sed $(HELPDIR)
100 - (cd $(HELPDIR) && WD=`pwd` && HEAD=`echo $$WD|sed -e 's!/lynx_help$$!!'` && test $$WD != $$HEAD && rm -rf *)
101 + (cd $(HELPDIR) && WD=`pwd` && HEAD=`echo $$WD|sed -e 's!/lynx/help$$!!'` && test $$WD != $$HEAD && rm -rf *)
102 @LYNXCFG_MAKE@ @echo 'Making htmlized lynx.cfg'
103 @LYNXCFG_MAKE@ cd src && make LYReadCFG.i
104 @LYNXCFG_MAKE@ @-rm -f alphatoc.html body.html cattoc.html
105 @@ -438,12 +438,12 @@
109 - -test -d $(HELPDIR) && WD=`cd $(HELPDIR) && pwd` && HEAD=`echo $$WD|sed -e 's!/lynx_help$$!!'` && test $$WD != $$HEAD && rm -rf $(HELPDIR)
110 + -test -d $(HELPDIR) && WD=`cd $(HELPDIR) && pwd` && HEAD=`echo $$WD|sed -e 's!/lynx/help$$!!'` && test $$WD != $$HEAD && rm -rf $(HELPDIR)
114 -test -d $(DOCDIR) && WD=`cd $(DOCDIR) && pwd` && HEAD=`echo $$WD|sed -e 's!/lynx_doc$$!!'` && test $$WD != $$HEAD && rm -rf $(DOCDIR)
115 - -test -d $(HELPDIR) && WD=`cd $(HELPDIR) && pwd` && HEAD=`echo $$WD|sed -e 's!/lynx_help$$!!'` && test $$WD != $$HEAD && cd $(HELPDIR) && rm -f COPYING COPYHEADER
116 + -test -d $(HELPDIR) && WD=`cd $(HELPDIR) && pwd` && HEAD=`echo $$WD|sed -e 's!/lynx/help$$!!'` && test $$WD != $$HEAD && cd $(HELPDIR) && rm -f COPYING COPYHEADER
118 $(BINDIR) $(MANDIR) $(LIBDIR) $(HELPDIR) $(DOCDIR) :
119 $(srcdir)/mkdirs.sh $@
120 diff -Nur lynx2-8-4.orig/userdefs.h lynx2-8-4/userdefs.h
121 --- lynx2-8-4.orig/userdefs.h Sun Jun 10 16:24:29 2001
122 +++ lynx2-8-4/userdefs.h Sun Jun 10 16:16:44 2001
124 * mailcap files (see the examples in the samples directory).
126 #ifndef LYNX_CFG_FILE
127 -#define LYNX_CFG_FILE "/usr/share/lynx/lynx.cfg"
128 +#define LYNX_CFG_FILE "/etc/lynx.cfg"
129 #endif /* LYNX_CFG_FILE */
131 /**************************
134 #define LYNX_CFG_FILE "./lynx.cfg"
136 -#define LYNX_CFG_FILE "/usr/share/lynx/lynx.cfg"
137 +#define LYNX_CFG_FILE "/etc/lynx.cfg"
139 #endif /* LYNX_CFG_FILE */
140 #endif /* HAVE_CONFIG_H */
142 * http://www.trill-home.com/lynx/lynx_help/lynx_help_main.html
143 * This should be changed here or in lynx.cfg to the local path.
145 -#define HELPFILE "http://www.trill-home.com/lynx/lynx_help/lynx_help_main.html"
146 +#define HELPFILE "file://localhost/usr/share/lynx/help/lynx_help_main.html.gz"
147 /* #define HELPFILE "file://localhost/PATH_TO/lynx_help/lynx_help_main.html" */
149 /*****************************