[Gimp-docs] HTML building problem

Ulf-D. Ehlert ude88 at web.de
Mon Aug 6 03:05:47 PDT 2007


Hi Julien,

Am Sonntag, 5. August 2007 schrieb julien:
> 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".

It seems that the variable "abs_top_srcdir" is empty - yet another 
automake/autoconf problem? (Which automake and autoconf version do you 
have installed?)

You should have a line like the following in your Makefile (not 
Makefile.am!):

$ grep ^abs_top_srcdir Makefile
abs_top_srcdir = /home/ulf/var/spool/GIMP/gimp-help-2

(I guess you will just get "abs_top_srcdir =")
Did you ever try "make preview"? It shouldn't work either, since it also 
uses "abs_top_srcdir".

Anyway, a workaround is to use a relative link instead:
    ...
    test -d html/images || $(LN_S) ../images html/
    ...

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/20070806/14d1a463/attachment.bin 


More information about the Gimp-docs mailing list