mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-08 23:19:31 +00:00
The second expression 's/xmlError *err/const &/' does nothing, because " *" actually matches zero, one, or several white spaces, not a white space and an asterisk. And the first expression '/libxml\/xmlerror.h/i #include <libxml/xmlversion.h>' includes a header, but we are not using anything in the header. The intention of the sed command is fix a compatibility issue with system libxml, but LFS does not have a system libxml so the fix is not needed for LFS. And, if we just fix up the second expression to 's/xmlError \*err/const &/' making it actually work, it'll cause a FTBFS with shipped libxml (used in LFS because system does not have libxml), so we cannot easily fix it either. For now just remove the sed. If gettext-0.23.1 isn't released before LFS 12.3 freeze, we can either apply the upstream patch to make it work for both shipped libxml and system libxml, or add the corrected sed with "nodump" and some alarming texts. |
||
---|---|---|
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