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 år sedan
appendixa d4c025bbcd Fixed SBU definition 20 år sedan
appendixb 132fd161b7 * Move HTML tidy to run before obfuscate.sh as they behave badly otherwise (bug 1594) 20 år sedan
chapter01 2e02c35ad7 Upgrade to gcc-4.0.1 (merge of gcc4 branch) 20 år sedan
chapter02 c2f2e792fd More nodump roles for mounting in chapter 2 20 år sedan
chapter03 b914f8f6d2 List required patches in alphabetical order (Bruce Dubbs) 20 år sedan
chapter04 d7ec037f23 Adding nodump role to 'passwd lfs' 20 år sedan
chapter05 2e02c35ad7 Upgrade to gcc-4.0.1 (merge of gcc4 branch) 20 år sedan
chapter06 2e02c35ad7 Upgrade to gcc-4.0.1 (merge of gcc4 branch) 20 år sedan
chapter07 39df528346 Fixed typo (Kim McCall) 20 år sedan
chapter08 2e02c35ad7 Upgrade to gcc-4.0.1 (merge of gcc4 branch) 20 år sedan
chapter09 8573b93752 Added a couple more 'nodump' tags 20 år sedan
prologue fe88627da6 Adding 'nodump' role to cat /proc/version command 20 år sedan
stylesheets 80d66d1587 Updated the stylesheets to use version 1.69.1 20 år sedan
INSTALL 0d8c5d4aa4 Fixed ambiguity in INSTALL. 20 år sedan
Makefile 2c5e4d5994 Added dump-commands.xsl. 20 år sedan
README 05e94658c6 Updated README and INSTALL. 20 år sedan
general.ent b914f8f6d2 List required patches in alphabetical order (Bruce Dubbs) 20 år sedan
index.xml 17700191e9 Upgraded to DocBook 4.4 DTD 20 år sedan
obfuscate.sh fbb5e45367 Added obfuscate.sh to test it in production mode. 20 år sedan
patches.ent 2e02c35ad7 Upgrade to gcc-4.0.1 (merge of gcc4 branch) 20 år sedan
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 år sedan

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