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

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