Changeset c40c526 for Makefile


Ignore:
Timestamp:
01/17/2024 06:43:51 PM (3 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
12.1, ken/TL2024, lazarus, plabs/newcss, rahul/power-profiles-daemon, trunk, xry111/llvm18
Children:
ab6c309
Parents:
d4919db
Message:

Style sheets: fix docbook-xsl bug in autoidx

The template named generate-basic-index in
{docbook-xsl}/xhtml/autoidx.xsl has a bug that generates a div element
with a wrong xmlns:xlink attribute. See
https://github.com/docbook/xslt10-stylesheets/issues/239.
Rather than fixing docbook-xsl, which would work only in LFS (but we
want to be able to render on other distros), copy the faulty template
to our customization files (lfs-index.xsl), so that this one is used.
We can also simplify it a lot since we don't need all the cases
covered in general docbook-xsl.
Also remove the sed for this bug in the Makefile.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    rd4919db rc40c526  
    4848endif
    4949
    50 
    5150blfs: html wget-list
    5251
     
    109108                stylesheets/blfs-chunked.xsl               \
    110109                $(RENDERTMP)/$(BLFSHTML)
    111         $(Q)sed -i 's/xmlns:xlink.*xlink"//' $(BASEDIR)/longindex.html
    112110
    113111        @echo "Copying CSS code and images..."
     
    143141                stylesheets/blfs-nochunks.xsl          \
    144142                $(RENDERTMP)/$(BLFSHTML)
    145         $(Q)sed -i 's/xmlns:xlink.*xlink"//' $(BASEDIR)/$(NOCHUNKS_OUTPUT)
    146143
    147144        @echo "Running Tidy and obfuscate.sh on non-chunked XHTML..."
Note: See TracChangeset for help on using the changeset viewer.