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 2c5e4d5994 Added dump-commands.xsl. 20 years ago
appendixa d4c025bbcd Fixed SBU definition 20 years ago
appendixb 132fd161b7 * Move HTML tidy to run before obfuscate.sh as they behave badly otherwise (bug 1594) 20 years ago
chapter01 01674db272 Adjusted tar commands for chapter six Bash and Glibc for consistency. 20 years ago
chapter02 2c5e4d5994 Added dump-commands.xsl. 20 years ago
chapter03 e43868f257 Upgrade to Man-1.6a 20 years ago
chapter04 a1a7f4f337 Brought (hopefully) all references of man/info pages into conformity. Updated typography to reflect this. 20 years ago
chapter05 941429e2c5 Use -print-file-name=specs instead of the undocumented --print-file-name switch for GCC's specs file edit 20 years ago
chapter06 01674db272 Adjusted tar commands for chapter six Bash and Glibc for consistency. 20 years ago
chapter07 39df528346 Fixed typo (Kim McCall) 20 years ago
chapter08 1a317d8f92 Reprise of r6470. 20 years ago
chapter09 dcab38fe83 Minor rewording 20 years ago
prologue 2c5e4d5994 Added dump-commands.xsl. 20 years ago
stylesheets 2c5e4d5994 Added dump-commands.xsl. 20 years ago
INSTALL 0d8c5d4aa4 Fixed ambiguity in INSTALL. 20 years ago
Makefile 2c5e4d5994 Added dump-commands.xsl. 20 years ago
README 05e94658c6 Updated README and INSTALL. 20 years ago
general.ent 01674db272 Adjusted tar commands for chapter six Bash and Glibc for consistency. 20 years ago
index.xml 17700191e9 Upgraded to DocBook 4.4 DTD 20 years ago
obfuscate.sh fbb5e45367 Added obfuscate.sh to test it in production mode. 20 years ago
patches.ent 50125deceb Added bzgrep security patch 20 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