[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Make doc failure
From: |
Graham Percival |
Subject: |
Re: Make doc failure |
Date: |
Thu, 22 Oct 2009 18:19:00 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Thu, Oct 22, 2009 at 07:34:18AM -0600, Carl Sorensen wrote:
> # fix links from other manuals to general
> find ./out-www -name "*.html" | xargs sed -i 's/\.\.\/general\//\.\.\//'
> sed: 1: "./out-www/All.html": invalid command code .
Mao. IIRC you're on OSX? Evidently this is a difference between
GNU sed and BSD sed.
Out of interest, from Documentation, does
sed -i 's/\.\.\/general\//\.\.\//' out-www/All.html
work? I'm not certain if that would change anything if it does,
since the ./out-www comes from expanding $(outdir) in the
makefile.
The *proper* solution, even disregarding this problem, is to
modify the targets of those links by rewriting texi2html's href
writer. But I don't feel like wading into that perl at the
moment, so I just slapped the sed in there.
Hmm. Any constructive thoughts, especially enthusiastic offers to
hack at the perl, would be appreciated.
Cheers,
- Graham