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 ed8ff7de8c Remove the Vim fixes patch. Fixes #2597. %!s(int64=15) %!d(string=hai) anos
appendices c72b64966b Put file before glibc in chapter 6 for better test coverage %!s(int64=15) %!d(string=hai) anos
bootscripts f78845c7a8 Check that /dev isn't already mounted in the udev bootscript. Fixes #2550. %!s(int64=15) %!d(string=hai) anos
chapter01 ed8ff7de8c Remove the Vim fixes patch. Fixes #2597. %!s(int64=15) %!d(string=hai) anos
chapter02 ffe0a2ff35 Fix a few typos. Fixes #2618. Thanks to Chris Staub for the patch. %!s(int64=15) %!d(string=hai) anos
chapter03 ed8ff7de8c Remove the Vim fixes patch. Fixes #2597. %!s(int64=15) %!d(string=hai) anos
chapter04 86861ee625 Added a note to address parallel make procedures %!s(int64=15) %!d(string=hai) anos
chapter05 7a95c735c8 Upgrade to Grep-2.6.1. Fixes #2617. %!s(int64=15) %!d(string=hai) anos
chapter06 ed8ff7de8c Remove the Vim fixes patch. Fixes #2597. %!s(int64=15) %!d(string=hai) anos
chapter07 395ce82718 Upgrade to Udev-151. Fixes #2561. %!s(int64=15) %!d(string=hai) anos
chapter08 920932eef6 typos %!s(int64=15) %!d(string=hai) anos
chapter09 f1994dcf64 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 ac488c1771 Typo fix. Fixes #2625. %!s(int64=15) %!d(string=hai) anos
stylesheets 77e2988b31 Minor changes for consistent pdf generation %!s(int64=16) %!d(string=hai) anos
udev-config 0e038d1b86 Don't try to install documentation that was removed in udev-config-20090126. %!s(int64=15) %!d(string=hai) anos
INSTALL 0d8c5d4aa4 Fixed ambiguity in INSTALL. %!s(int64=20) %!d(string=hai) anos
Makefile 6708e6ace1 Fix pdf overflow of grub listing output by changing the font size %!s(int64=15) %!d(string=hai) anos
README 2dc4a09ed1 Forcing an update to test RSS fixes. %!s(int64=16) %!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 ed8ff7de8c Remove the Vim fixes patch. Fixes #2597. %!s(int64=15) %!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 7a95c735c8 Upgrade to Grep-2.6.1. Fixes #2617. %!s(int64=15) %!d(string=hai) anos
patches.ent ed8ff7de8c Remove the Vim fixes patch. Fixes #2597. %!s(int64=15) %!d(string=hai) anos
pdf-fixups.sh 3684f6cc35 Remove verbose %!s(int64=15) %!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