[Gimp-docs] HTML building problem
julien
jm.hard at wanadoo.fr
Sat Aug 4 23:03:37 PDT 2007
It doesn't work :-(
Here my Makefile am :
#### HTML output
if GIMP_HELP_BUILD
# Main text
html/%/index.html: xml/%.xml stylesheets/plainhtml.xsl
@test -d html/images || $(LN_S) $(abs_top_srcdir)/images html/
rm -rf html/$*
$(mkdir_p) html/$*
After an ./autogen.sh, "make clean" and a "make validate
ALL_LINGUAS="fr" I get:
mkdir -p -- xml
/usr/bin/xsltproc \
--nonet \
--xinclude \
--stringparam profile.lang fr \
./stylesheets/profile.xsl \
src/gimp.xml \
> xml/fr.xml.tmp
sed -e 's/xmlns[:a-z]*="[^"]*" //' \
-e 's/lang="[A-Za-z_;]*"/lang="fr"/' \
-e '/^[ \t]*$/d' \
< xml/fr.xml.tmp \
> xml/fr.xml
rm -f xml/fr.xml.tmp
/usr/bin/xmllint --noout xml/fr.xml
/usr/bin/xmllint --noout --valid xml/fr.xml > /dev/null
touch xml/stamp-fr-valid
ln: the 'html' target is not a directory: no file or directory of this
type
make: *** [html/fr/index.html] Error 1
Julien
Ulf-D. Ehlert wrote:
> Am Samstag, 4. August 2007 schrieb julien:
>
>> On two different systems, the html/images folder is not created when
>> making html and so there is no images in html files.
>> What happens?
>>
>
> There's no make rule/command to create images.
>
> Workaround/fix:
> Edit Makefile.am, creating a shell command to make the missing link:
>
> After
> html/%/index.html: xml/%.xml stylesheets/plainhtml.xsl
> add
> <TAB>@test -d html/images || $(LN_S) $(abs_top_srcdir)/images html/
>
> Then run autogen.sh, then pray, then run make.
>
> 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