[Gimp-docs] HTML building problem

julien jm.hard at wanadoo.fr
Sun Aug 5 07:02:16 PDT 2007


Hi Ulf,

It no more works :-(

My Makefile.am is
# 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/

    $(XSLTPROC) \

In the html folder, I have a 'fr' directory and a weird file named
images, with a padlock. The pop-up window shows its type is "link to a
/images (unknown)" and its size is "0o".

Bye,

Julien

Ulf-D. Ehlert wrote:
> 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
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Gimp-docs mailing list
> Gimp-docs at lists.XCF.Berkeley.EDU
> https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs
>   




More information about the Gimp-docs mailing list