[Gimp-docs] HTML building problem (RESOLVED-AGAIN)

Marco Ciampa ciampix at libero.it
Tue Aug 14 03:04:52 PDT 2007


On Mon, Aug 13, 2007 at 11:43:41PM +0200, Ulf-D. Ehlert wrote:
> Hi Marco,
> 
> Marco Ciampa (Montag, 13. August 2007, 21:54):
> [...]
> > yes but the generated html pages always refers to nonexistent images
> > so the manual is unreadable if not installed (and I do _not_ want to
> > install it every time I want to check my translation...)
> 
> html/images should be a symlink to images. Julien had the same problems 
> some days ago (see this thread). We added a line in Makefile.am:
> 
> # Main text
> html/%/index.html: xml/%.xml stylesheets/plainhtml.xsl    
>     rm -rf html/$*
>     $(mkdir_p) html/$*
>     test -d html/images || $(LN_S) $(abs_top_srcdir)/images html/
> 
> The line beginning with "test -d html/images ..." was added (with a 
> leading <TAB>), and it should work with automake 1.10. Don't forget to 
> re-run autogen.sh.
Sorry, in my Makefile.am there is still (and yes I've "svn update"-d!):

# Main text
html/%/index.html: xml/%.xml stylesheets/plainhtml.xsl
        rm -rf html/$*
        $(mkdir_p) html/$*

( missint the test line...) 

So I've done in trunk/html:

ln -s ../images/ images

and it fixed all.

Before you ask again, yes, I've done make clean and re-runned ./autogen.sh ...
perhaps I'm missing something? Sorry I have no clue in
make/automake/autoconf ! :-(

bye

-- 

Marco Ciampa

+--------------------+
| Linux User  #78271 |
| FSFE fellow   #364 |
+--------------------+


More information about the Gimp-docs mailing list