Go to file
Xi Ruoyao 7e4fd2e198
glibc: Drop --with-headers in pass 1
I cannot see why this is ever needed.  The default is "the compiler
default" which should be correct as the compiler has been configured
--with-sysroot.  And the explanation for this switch is just repeating a
common misunderstanding.  In fact glibc **never** attempts to figure out
what features the kernel has from the headers.  Instead it depends on
the kernel-features.h files in the source tree and the --with-kernel
value to determine the kernel features that it can rely on.
2025-03-27 21:04:46 +08:00
appendices dependencies: Drop kbd's dependency on check 2025-02-20 02:43:11 +08:00
bootscripts Update to lfs-bootscripts-20240825 2024-08-25 15:37:38 +08:00
chapter01 changelog: Add revision attributes for sysklogd and dbus 2025-03-15 21:50:05 +08:00
chapter02 stages: "Changing Ownership" shouldn't be executed resuming an interrupted build 2025-02-01 20:12:49 +08:00
chapter03 Package updates. 2025-02-02 20:02:39 -06:00
chapter04 Package updates and mic fixes. 2025-02-27 11:07:22 -06:00
chapter05 glibc: Drop --with-headers in pass 1 2025-03-27 21:04:46 +08:00
chapter06 Package updates. 2025-02-02 20:02:39 -06:00
chapter07 Package updates. 2025-02-02 20:02:39 -06:00
chapter08 pkgmgmt: Add the definition of "library name" as a footnote 2025-03-12 21:00:55 +08:00
chapter09 network: Fix the /etc/hosts line for local machine 2024-09-26 01:12:54 +08:00
chapter10 Cleanup after 12.3 release. 2025-03-07 14:52:09 -06:00
chapter11 os-release: Automatically update RELEASE_TYPE 2024-12-21 11:56:57 +08:00
images Adding some new png files to supoprt alternate css 2015-08-10 17:53:57 +00:00
part3intro glibc: Drop --with-headers in pass 1 2025-03-27 21:04:46 +08:00
prologue standards: Add extension names to libg{d,t}k-x11-2.0 to be consistent 2024-10-06 03:32:51 +08:00
stylesheets Fix displaying note numbers also in pdf 2025-03-17 13:26:58 +01:00
udev-lfs Typos on comments. 2024-08-23 14:01:06 -05:00
.gitignore build: Add "make dist" 2023-09-13 14:10:38 +08:00
aux-file-data.sh Typos on comments. 2024-08-23 14:01:06 -05:00
gen-changelog.py gen-changelog: Fix HTTP 403 accessing trac 2025-02-19 19:18:52 +08:00
general.ent Cleanup after 12.3 release. 2025-03-07 14:52:09 -06:00
git-version.sh Fix typos 2024-08-25 15:37:34 +08:00
index.xml Change all xml files to utf-8 encoding 2024-01-18 20:53:23 +01:00
INSTALL doc: correct the URL of BLFS docbook-xml-4.5 page 2022-02-23 02:10:17 +08:00
lfs-latest-git.php Restrict tcl currency to version 8 for now. 2025-02-12 19:05:22 -06:00
lfs-latest.php currency: Remove stale lfs-latest.php and symlink lfs-latest-git.php to it 2023-09-03 03:30:43 +08:00
make-aux-files.sh Fix make-aux-file for lfs-bootscript entities 2021-09-22 23:21:31 +02:00
Makefile build: Use -r for git ls-tree in make dist 2024-08-12 19:20:16 +08:00
obfuscate.sh Fix small typos 2023-08-03 22:55:17 +08:00
packages.ent Update packages for mid-March 2025. 2025-03-14 15:53:55 -05:00
patches.ent Package updates. 2025-02-02 20:02:39 -06:00
pdf-fixups.sh Fix pdf presentation issues and some misc issues 2022-03-14 13:08:40 -05:00
process-scripts.sh Remove eol spaces 2021-09-07 23:10:29 +02:00
README Remove eol spaces 2021-09-07 23:05:44 +02:00
tidy.conf Generate utf-8 encoded html 2023-11-23 20:59:52 +01:00

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