[Gimp-docs] HTML building problem

Ulf-D. Ehlert ude88 at web.de
Sun Aug 5 02:12:55 PDT 2007


Hi Julien,

Am Sonntag, 5. August 2007 schrieb julien:
> It doesn't work :-(
[...]
> After an ./autogen.sh,  "make clean" and a "make validate
> ALL_LINGUAS="fr" I get:
[...]
> ln:  the 'html' target is not a directory:  no file or directory of
> this type
> make: *** [html/fr/index.html] Error 1

Mea culpa, sorry. It worked for me, but I never used "make clean".

So we should better make sure the html directory exists before we use 
it - just move the new command two lines down:

# 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/

(with leading "@", if you want to suppress output). 
Now the html directory is created with "mkdir -p html/fr", and then, 
when html exists, we can place a sysmbolic link there.

Bye,
Ulf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /lists/gimp-docs/attachments/20070805/92a80403/attachment.bin 


More information about the Gimp-docs mailing list