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/

Manuel Canales Esparcia 05d60cedcd Added a versose flag and other fixes to the Makefile. 17 years ago
appendices b06ca361a4 Updated book sources to use DocBook-XML DTD 4.5 17 years ago
chapter01 0e6d3c0b45 Refactored the Makefile. 17 years ago
chapter02 ea148539cb Rewording so that a colon can be comfortably added to lead in to a command, to help people using screen readers. 17 years ago
chapter03 ead6e7a856 Apply some upstream fixes to Vim. 17 years ago
chapter04 b06ca361a4 Updated book sources to use DocBook-XML DTD 4.5 17 years ago
chapter05 968c7be054 Upgrade to Tar-1.18. Fixes #2039. 17 years ago
chapter06 ead6e7a856 Apply some upstream fixes to Vim. 17 years ago
chapter07 f19e766a8e Add missing colons wherever we expect the builder to key in the userinput. 17 years ago
chapter08 01670aadbe Typos fix 17 years ago
chapter09 b06ca361a4 Updated book sources to use DocBook-XML DTD 4.5 17 years ago
images 192ac089b9 Import the admonition graphics from the DocBook-XSL package. 17 years ago
prologue 27b8ff9a25 Bump the minimum host version of Bison to 1.875 as earlier versions cause Bash to misbehave. Fixes #1977. 17 years ago
stylesheets b3a7074bf3 Start using the new stylesheets. 17 years ago
INSTALL 0d8c5d4aa4 Fixed ambiguity in INSTALL. 19 years ago
Makefile 05d60cedcd Added a versose flag and other fixes to the Makefile. 17 years ago
README 05e94658c6 Updated README and INSTALL. 19 years ago
general.ent 0e6d3c0b45 Refactored the Makefile. 17 years ago
index.xml b06ca361a4 Updated book sources to use DocBook-XML DTD 4.5 17 years ago
obfuscate.sh 05d60cedcd Added a versose flag and other fixes to the Makefile. 17 years ago
packages.ent 25048ce792 Upgrade to Udev-113. Fixes #2040. 17 years ago
patches.ent ead6e7a856 Apply some upstream fixes to Vim. 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 19 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