mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 19:29:21 +01:00
The upstream fix is explicitly checking libxml2 version so it's not practical to be turned into a sed. But I don't want to upload another patch just for such a "temporary" issue (as it'll be fixed for 0.23.1 anyway). This alternative fix relies on: 1. The fact that the return type of xmlCtxtGetLastError and the arg type of xmlStructuredErrorFunc are changed in the same commit 61034116d0a3 ("error: Make more xmlError structs constant"). 2. GCC supports typeof(expr) to get the type of expr w/o really evaluating it. So it should have the same effect as the upstream fix. Tested with both --with-included-libxml2 and --without-included-libxml2 on BLFS. |
||
---|---|---|
appendices | ||
bootscripts | ||
chapter01 | ||
chapter02 | ||
chapter03 | ||
chapter04 | ||
chapter05 | ||
chapter06 | ||
chapter07 | ||
chapter08 | ||
chapter09 | ||
chapter10 | ||
chapter11 | ||
images | ||
part3intro | ||
prologue | ||
stylesheets | ||
udev-lfs | ||
.gitignore | ||
aux-file-data.sh | ||
gen-changelog.py | ||
general.ent | ||
git-version.sh | ||
index.xml | ||
INSTALL | ||
lfs-latest-git.php | ||
lfs-latest.php | ||
make-aux-files.sh | ||
Makefile | ||
obfuscate.sh | ||
packages.ent | ||
patches.ent | ||
pdf-fixups.sh | ||
process-scripts.sh | ||
README | ||
tidy.conf |
LFS Book README This document is meant to instruct the user on how to convert the book's XML source to other formats (e.g. HTML, PDF, PS and TXT). First, if you have not already done so, please read the INSTALL file for instructions on how to install the required software. If you have already completed the steps outlined in the INSTALL file, then continue reading for examples how to convert these files into various other formats. In all examples, setting the parameter REV=systemd is needed to build the systemd version of the book. XML to XHTML: ------------- make BASEDIR=/path/to/output/location XML to single file XHTML (nochunks): ------------------------------------ make BASEDIR=/path/to/output/location nochunks XML to TXT ---------- Follow the instructions for nochunks and then run: lynx -dump /path/to/nochunks >/path/to/output XML to PDF: ----------- make BASEDIR=/path/to/output/location pdf