lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev dev.20 patch for help_files.sed when no use_gzip_help


From: dickey
Subject: Re: lynx-dev dev.20 patch for help_files.sed when no use_gzip_help
Date: Sat, 20 Mar 1999 21:50:36 -0500 (EST)

> 
> When the builder does not select use_gzip_help, new code in 
> makefile.in, apparently intended to generate a line in 
> help_files.sed such as: 
I noticed this yesterday (sorry).  Fix will be in the next patch.
(I used a test -n rather than case).

>  
>     s$\.gz\.gz%% 
>  
> instead generates: 
>  
>     s%\%%g 
>  
> which causes "gmake install-help" to generate multiple messages 
> and perhaps fail: 
>  
>     sed: command garbled: s%\%%g 
>  
> The following patch suppresses the superfluous sed command. 
>  
> -- gil 
> ================================================================= 
> %%% Created Sat Mar 20 17:56:32 MST 1999 by target lynx.patch. %%% 
> diff -bru orig/lynx2-8-2/makefile.in lynx2-8-2/makefile.in 
> --- orig/lynx2-8-2/makefile.in        Wed Mar 17 20:17:11 1999 
> @@ -337,8 +339,9 @@ 
>               -e 's%\.html=%\\.html=%' \ 
>               $(srcdir)/lynx_help/help_files.txt | $(FIX_SED) >> \ 
>               $(helpdir)/help_files.sed 
> +     case "$(COMPRESS_EXT)" in "") ;; *) \ 
>       echo 's%\$(COMPRESS_EXT)\$(COMPRESS_EXT)%$(COMPRESS_EXT)%g' >> \ 
> -             $(helpdir)/help_files.sed 
> +             $(helpdir)/help_files.sed;; esac 
>       @echo Translating/copying html files 
>       @address@hidden(SHELL) -c 'cd $(srcdir)/lynx_help && ( \ 
>               dirs=keystrokes; \ 


-- 
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey

reply via email to

[Prev in Thread] Current Thread [Next in Thread]