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/

Bruce Dubbs 3bce8fdfe8 Add a sed that modifies incorrect defines in glibc %!s(int64=14) %!d(string=hai) anos
appendices 6b7f1afded Add Autoconf as a testsuite dependency of Tar. Fixes #2822. %!s(int64=14) %!d(string=hai) anos
bootscripts d03909fd11 Added udev to Required-Start for swap script. %!s(int64=15) %!d(string=hai) anos
chapter01 3bce8fdfe8 Add a sed that modifies incorrect defines in glibc %!s(int64=14) %!d(string=hai) anos
chapter02 d944136079 Replaced deprecated w3.org XInclude throughout the book %!s(int64=15) %!d(string=hai) anos
chapter03 51023236d6 Added XZ-Utils as a new compression utility package for independent use or with %!s(int64=14) %!d(string=hai) anos
chapter04 cef11eaf85 Clearified some issues about building in parallel %!s(int64=15) %!d(string=hai) anos
chapter05 dbc5ea6691 Change xz xml filenames to support jhalfs %!s(int64=14) %!d(string=hai) anos
chapter06 3bce8fdfe8 Add a sed that modifies incorrect defines in glibc %!s(int64=14) %!d(string=hai) anos
chapter07 fe05b08956 Add installed directories information to %!s(int64=15) %!d(string=hai) anos
chapter08 52318649b6 Move chroot man page to man8 %!s(int64=14) %!d(string=hai) anos
chapter09 d944136079 Replaced deprecated w3.org XInclude throughout the book %!s(int64=15) %!d(string=hai) anos
images 192ac089b9 Import the admonition graphics from the DocBook-XSL package. %!s(int64=18) %!d(string=hai) anos
prologue 7002213ff4 Add XZ Utilities to the rationale page %!s(int64=14) %!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 3bce8fdfe8 Add a sed that modifies incorrect defines in glibc %!s(int64=14) %!d(string=hai) anos
index.xml d944136079 Replaced deprecated w3.org XInclude throughout the book %!s(int64=15) %!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 78877aad56 Upgrade to File-5.05. Fixes #2821. %!s(int64=14) %!d(string=hai) anos
patches.ent 02ac8256aa Upgrade to Coreutils-8.9. Fixes #2815. %!s(int64=14) %!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