mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 06:52:14 +08:00
c40c526d34
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. |
||
---|---|---|
appendices | ||
archive | ||
book | ||
general | ||
gnome | ||
images | ||
introduction | ||
kde | ||
kernel-config | ||
lxqt | ||
multimedia | ||
networking | ||
postlfs | ||
pst | ||
server | ||
stylesheets | ||
template | ||
x | ||
xfce | ||
xincludes | ||
xsoft | ||
.gitattributes | ||
.gitignore | ||
changelog.xml | ||
expand_date | ||
general.ent | ||
git-version.sh | ||
gnome.ent | ||
index.xml | ||
INSTALL | ||
Makefile | ||
obfuscate.sh | ||
packages.ent | ||
README | ||
tidy.conf |
How do I convert these XML files to HTML? You need to have some software installed that deal with these conversions. Please read the INSTALL file to determine what programs you need to install and where to get instructions to install that software. After that, you can build the html with a simple 'make' command. The default target builds the html in $(HOME)/public_html/blfs-book. For all targets, setting the parameter REV=systemd is needed to build the systemd version of the book. Other Makefile targets are: nochunks, validate, and blfs-patch-list. nochunks: builds BLFS in one huge file. validate: does an extensive check for xml errors in the book. blfs-patch-list: generates a list of all blfs controlled patches in the book.