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 4d2077d798 Adjust zlib instructions to ensure .pc file and all libraries are in the proper %!s(int64=15) %!d(string=hai) anos
appendices 4d2077d798 Adjust zlib instructions to ensure .pc file and all libraries are in the proper %!s(int64=15) %!d(string=hai) anos
bootscripts a8a87e6739 Typo fix. Thanks Gilles. %!s(int64=15) %!d(string=hai) anos
chapter01 4d2077d798 Adjust zlib instructions to ensure .pc file and all libraries are in the proper %!s(int64=15) %!d(string=hai) anos
chapter02 d944136079 Replaced deprecated w3.org XInclude throughout the book %!s(int64=15) %!d(string=hai) anos
chapter03 d944136079 Replaced deprecated w3.org XInclude throughout the book %!s(int64=15) %!d(string=hai) anos
chapter04 d944136079 Replaced deprecated w3.org XInclude throughout the book %!s(int64=15) %!d(string=hai) anos
chapter05 4d2077d798 Adjust zlib instructions to ensure .pc file and all libraries are in the proper %!s(int64=15) %!d(string=hai) anos
chapter06 4d2077d798 Adjust zlib instructions to ensure .pc file and all libraries are in the proper %!s(int64=15) %!d(string=hai) anos
chapter07 d944136079 Replaced deprecated w3.org XInclude throughout the book %!s(int64=15) %!d(string=hai) anos
chapter08 d944136079 Replaced deprecated w3.org XInclude throughout the book %!s(int64=15) %!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 d944136079 Replaced deprecated w3.org XInclude throughout the book %!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 4d2077d798 Adjust zlib instructions to ensure .pc file and all libraries are in the proper %!s(int64=15) %!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 4d2077d798 Adjust zlib instructions to ensure .pc file and all libraries are in the proper %!s(int64=15) %!d(string=hai) anos
patches.ent 49168420d4 Upgrade to GCC-4.5.0, including the addition of its new dependency, MPC. Fixes #2636. %!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