*** lynx2-8-1/makefile.in Fri Aug 21 14:30:14 1998 --- lynx2-8-1.new/makefile.in Thu Aug 27 00:30:10 1998 *************** *** 39,49 **** --- 39,58 ---- ## Where you want the help-files installed helpdir= @libdir@/lynx_help + ## Where you want the logs installed + logdir= $(helpdir) + ##set the relative location of the WWW library Implementation directory, ##from this directory ##do not set this to be an absolute path!!! WWWINC= WWW/Library/Implementation + ## Compression program and its corresponding extension. + ## These will be used when --enable-compress-help is set by configure. + ## Leave *both* empty if you don't want to compress help files. + COMPRESS_PROG= + COMPRESS_EXT= + # !!!!!!!!!!! SUN resolv LIBRARY !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! # To include resolv in the LIBS="" list for SUN 3, 4 or Solaris OS, # point RESOLVLIB to that library. You need this if you get the message *************** *** 218,224 **** compress: tar cd ..; rm -f $(lynxname).tar.Z; compress -f -v $(lynxname).tar ! install: lynx$x install-bin install-man install-cfg @INSTALL_LSS@ @echo @echo "Use $(MAKE) install-help to install the help-files" @echo --- 227,233 ---- compress: tar cd ..; rm -f $(lynxname).tar.Z; compress -f -v $(lynxname).tar ! install: lynx$x install-bin install-man install-cfg @INSTALL_LSS@ install-log @echo @echo "Use $(MAKE) install-help to install the help-files" @echo *************** *** 232,238 **** install-help : $(helpdir) (cd $(helpdir) && rm -rf *) ! (cd $(srcdir)/lynx_help && tar cf - . ) | ( cd $(helpdir) && tar xf - ) (cd $(srcdir) && tar cf - C[HO]* PROBLEMS README samples test ) | \ ( cd $(helpdir) && tar xf - ) -rm -f $(libdir)/lynx.tmp --- 241,267 ---- install-help : $(helpdir) (cd $(helpdir) && rm -rf *) ! sed -e '/^#/d' -e '/^$$/d' \ ! -e 's%\(.*\)=\(address@hidden)address@hidden@=\2=%g' \ ! -e 's%\(.*\)=\(http:.*\)address@hidden@=\2=%g' \ ! -e 's%\(.*\)=\(ftp:.*\)address@hidden@=\2=%g' \ ! -e 's%\(.*\)=\(.*\.html\)address@hidden@=\2$(COMPRESS_EXT)=%g' \ ! $(srcdir)/lynx_help/help_files.txt > \ ! $(srcdir)/lynx_help/help_files.sed ! sh -c '(cd $(srcdir)/lynx_help && \ ! files=`find . -name \*.html_ | sed s/\.html_/\.html/g` ; \ ! for f in $$files ; do \ ! sed -f help_files.sed $${f}_ > $$f ; \ ! done ; \ ! if test "$(COMPRESS_PROG)" != "" ; then \ ! nfiles=`echo $$files | \ ! sed -e s=./lynx_help_main.html==` ; \ ! $(COMPRESS_PROG) $$nfiles ; \ ! fi ; \ ! tar cf - `find . \( -name \*.html -o -name \*.html.gz \)` \ ! | ( cd $(helpdir) && tar xf - ) ; \ ! )' ! -rm -f $(srcdir)/lynx_help/help_files.sed (cd $(srcdir) && tar cf - C[HO]* PROBLEMS README samples test ) | \ ( cd $(helpdir) && tar xf - ) -rm -f $(libdir)/lynx.tmp *************** *** 256,261 **** --- 285,296 ---- -mv -f $(libdir)/lynx.lss $(libdir)/lynx.oldlss $(INSTALL_DATA) $(srcdir)/samples/lynx.lss $(libdir)/lynx.lss + install-log : $(libdir) config.cache + -sed -e '/^#/d' \ + -e 's/^.._cv_\(.*\)=.*=\(.*\)\}/\1=\2/g' \ + config.cache | \ + awk -F= '{printf "%-30s = %s\n",$$1,$$2}' > $(logdir)/lynx_site.txt + uninstall: -rm -f $(bindir)/lynx$x -rm -f $(mandir)/lynx.1