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 4b225a4a90 Upgrade to Udev-111. Fixes #1998. 18 years ago
appendices b06ca361a4 Updated book sources to use DocBook-XML DTD 4.5 18 years ago
chapter01 4b225a4a90 Upgrade to Udev-111. Fixes #1998. 18 years ago
chapter02 b06ca361a4 Updated book sources to use DocBook-XML DTD 4.5 18 years ago
chapter03 1aba30dba8 Add an upstream patch for Ncurses, which fixes a number of issues uncovered by the Coverity static code analysis tool. Fixes #1995. 18 years ago
chapter04 b06ca361a4 Updated book sources to use DocBook-XML DTD 4.5 18 years ago
chapter05 1652151de9 Fixes for PDF output. 18 years ago
chapter06 4df2959265 Fix the sed that disabled the installation of the groups.1 man page. It resulted in a few other man pages not being installed too. 18 years ago
chapter07 fbfd0b561f Added missing nodump attribute. 18 years ago
chapter08 c8c2b89ebf Added missing tags. 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 27b8ff9a25 Bump the minimum host version of Bison to 1.875 as earlier versions cause Bash to misbehave. Fixes #1977. 18 years ago
stylesheets 39ac890912 Small changes to fix Index look. 18 years ago
INSTALL 0d8c5d4aa4 Fixed ambiguity in INSTALL. 20 years ago
Makefile 0e9b4458b6 Reverted local Makefile changes. 18 years ago
README 05e94658c6 Updated README and INSTALL. 20 years ago
general.ent 8c0dce34f0 Upgrade to Man-Pages 2.48. Fixes #2000. 18 years ago
index.xml b06ca361a4 Updated book sources to use DocBook-XML DTD 4.5 18 years ago
obfuscate.sh fbb5e45367 Added obfuscate.sh to test it in production mode. 20 years ago
packages.ent 4b225a4a90 Upgrade to Udev-111. Fixes #1998. 18 years ago
patches.ent e034bd545e Incorporate latest upstream fixes for Vim. 18 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