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 f84ac7e7d9 Fix download location for File-4.2.3. Fixes #2154. 17 years ago
appendices f70fb9ff45 More updates in dependencies list. Thanks to Chris Staub for the patch. 18 years ago
chapter01 d6e34158b2 Update module-init-tools, fixes #2127. 17 years ago
chapter02 f0fecc7e8a Upgrade to E2fsprogs-1.40.5. Fixes #2138. 17 years ago
chapter03 cdf68ba134 Remove leftover mktemp patch. 17 years ago
chapter04 b06ca361a4 Updated book sources to use DocBook-XML DTD 4.5 18 years ago
chapter05 615a565828 Upgrade to Coreutils-6.10. Fixes #2133. 17 years ago
chapter06 d6e34158b2 Update module-init-tools, fixes #2127. 17 years ago
chapter07 4d84ed51cd Fix typo 17 years ago
chapter08 0445a3d506 Added remap attributes to userinput tags in packages pages. 18 years ago
chapter09 b06ca361a4 Updated book sources to use DocBook-XML DTD 4.5 18 years ago
images 192ac089b9 Import the admonition graphics from the DocBook-XSL package. 18 years ago
prologue 9692a57692 Add Perl to the list of host requirements as Glibc needs it. Fixes #2112. 17 years ago
stylesheets c1fe047a4d Merged r8368 from new-xsl branch. 18 years ago
INSTALL 0d8c5d4aa4 Fixed ambiguity in INSTALL. 20 years ago
Makefile 66195c8130 Make sure obfuscate.sh is run using Bash. It fails on Ubuntu which has /bin/sh linked to dash. 17 years ago
README 05e94658c6 Updated README and INSTALL. 20 years ago
general.ent f84ac7e7d9 Fix download location for File-4.2.3. Fixes #2154. 17 years ago
index.xml b06ca361a4 Updated book sources to use DocBook-XML DTD 4.5 18 years ago
obfuscate.sh 05d60cedcd Added a versose flag and other fixes to the Makefile. 18 years ago
packages.ent f84ac7e7d9 Fix download location for File-4.2.3. Fixes #2154. 17 years ago
patches.ent d6e34158b2 Update module-init-tools, fixes #2127. 17 years ago
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 years ago

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