Linux From Scratch (LFS) is a project that provides you with step-by-step instructions for building your own customized Linux system entirely from source. http://www.linuxfromscratch.org/lfs/

Matthew Burgess e9a8e2914b Fix Udev-Config MD5sum and tarball size. %!s(int64=16) %!d(string=hai) anos
appendices df2ca719b0 Various text corrections from Chris Staub. Fixes #2470. %!s(int64=16) %!d(string=hai) anos
bootscripts af116fca9d Remove the buggy legacy getpids() function. Fixes #2472. %!s(int64=16) %!d(string=hai) anos
chapter01 4398c2211a Added switch to install udev documentation in the proper versioned directory. Fixes #2459. %!s(int64=16) %!d(string=hai) anos
chapter02 8e3448a108 Commented out "LFS next to existing hints" until its viability can be established. %!s(int64=16) %!d(string=hai) anos
chapter03 9cccea2aed Remove Berkeley DB; Man-DB uses GDBM now. Fixes #2440. %!s(int64=16) %!d(string=hai) anos
chapter04 fe6ca49e2b Apply a few text updates from Chris Staub. Fixes #2442. %!s(int64=16) %!d(string=hai) anos
chapter05 df2ca719b0 Various text corrections from Chris Staub. Fixes #2470. %!s(int64=16) %!d(string=hai) anos
chapter06 df2ca719b0 Various text corrections from Chris Staub. Fixes #2470. %!s(int64=16) %!d(string=hai) anos
chapter07 4398c2211a Added switch to install udev documentation in the proper versioned directory. Fixes #2459. %!s(int64=16) %!d(string=hai) anos
chapter08 764b5cf62b Add a reference to the kernel-configuration hint %!s(int64=16) %!d(string=hai) anos
chapter09 d10c9d9eea Various text and grammar updates. Thanks to Chris Staub for the patch. Fixes #2458. %!s(int64=16) %!d(string=hai) anos
images 192ac089b9 Import the admonition graphics from the DocBook-XSL package. %!s(int64=18) %!d(string=hai) anos
prologue dc96e56c08 Change output if readelf to render on one line like the actual output. %!s(int64=16) %!d(string=hai) anos
stylesheets 77e2988b31 Minor changes for consistent pdf generation %!s(int64=16) %!d(string=hai) anos
udev-config 63f6e21758 Change the bootsripts and udev configuration so the rtc is set by udev upon boot. %!s(int64=16) %!d(string=hai) anos
INSTALL 0d8c5d4aa4 Fixed ambiguity in INSTALL. %!s(int64=20) %!d(string=hai) anos
Makefile 097d2ae1cd Upgrade to LFS-Bootscripts-20090812 and prevent Makefile from altering what are now fixed MD5sums and tarball sizes. %!s(int64=16) %!d(string=hai) anos
README 05e94658c6 Updated README and INSTALL. %!s(int64=20) %!d(string=hai) anos
aux-file-data.sh f56f0428d3 Date type and remove some tab characters %!s(int64=16) %!d(string=hai) anos
general.ent 561925b28e Change to final 6.5 version entities %!s(int64=16) %!d(string=hai) anos
index.xml 12bc33686f Add udev rules as an appendix %!s(int64=17) %!d(string=hai) anos
make-aux-files.sh 1c4800743d Moved bootscripts and udev-config to BOOK %!s(int64=17) %!d(string=hai) anos
obfuscate.sh 05d60cedcd Added a versose flag and other fixes to the Makefile. %!s(int64=18) %!d(string=hai) anos
packages.ent ef0a410f98 Fix Udev-Config MD5sum and tarball size. %!s(int64=16) %!d(string=hai) anos
patches.ent ebabbb783e Add latests upstream Vim patches. Fixes #2449. %!s(int64=16) %!d(string=hai) anos
process-scripts.sh abcee477f0 Change book build scripts to specify bash, not sh %!s(int64=17) %!d(string=hai) anos
tidy.conf 58f10f85ed HTML Tidy's newline detection appears to be broken. Force LF line endings assuming people are rendering on a Linux box %!s(int64=20) %!d(string=hai) anos

README

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.

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