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/

Jeremy Huntwork d7ec037f23 Adding nodump role to 'passwd lfs' 20 lat temu
appendixa d4c025bbcd Fixed SBU definition 20 lat temu
appendixb 132fd161b7 * Move HTML tidy to run before obfuscate.sh as they behave badly otherwise (bug 1594) 20 lat temu
chapter01 2e02c35ad7 Upgrade to gcc-4.0.1 (merge of gcc4 branch) 20 lat temu
chapter02 c2f2e792fd More nodump roles for mounting in chapter 2 20 lat temu
chapter03 b914f8f6d2 List required patches in alphabetical order (Bruce Dubbs) 20 lat temu
chapter04 d7ec037f23 Adding nodump role to 'passwd lfs' 20 lat temu
chapter05 2e02c35ad7 Upgrade to gcc-4.0.1 (merge of gcc4 branch) 20 lat temu
chapter06 2e02c35ad7 Upgrade to gcc-4.0.1 (merge of gcc4 branch) 20 lat temu
chapter07 39df528346 Fixed typo (Kim McCall) 20 lat temu
chapter08 2e02c35ad7 Upgrade to gcc-4.0.1 (merge of gcc4 branch) 20 lat temu
chapter09 8573b93752 Added a couple more 'nodump' tags 20 lat temu
prologue fe88627da6 Adding 'nodump' role to cat /proc/version command 20 lat temu
stylesheets 80d66d1587 Updated the stylesheets to use version 1.69.1 20 lat temu
INSTALL 0d8c5d4aa4 Fixed ambiguity in INSTALL. 20 lat temu
Makefile 2c5e4d5994 Added dump-commands.xsl. 20 lat temu
README 05e94658c6 Updated README and INSTALL. 20 lat temu
general.ent b914f8f6d2 List required patches in alphabetical order (Bruce Dubbs) 20 lat temu
index.xml 17700191e9 Upgraded to DocBook 4.4 DTD 20 lat temu
obfuscate.sh fbb5e45367 Added obfuscate.sh to test it in production mode. 20 lat temu
patches.ent 2e02c35ad7 Upgrade to gcc-4.0.1 (merge of gcc4 branch) 20 lat temu
tidy.conf 58f10f85ed HTML Tidy's newline detection appears to be broken. Force LF line endings assuming people are rendering on a Linux box 20 lat temu

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