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/

Thomas Trepl d94d11aad6 MultiLib: Merge changes from trunk %!s(int64=6) %!d(string=hai) anos
appendices ffaeec6492 Merge trunk, add multilib.xml to prologue %!s(int64=4) %!d(string=hai) anos
bootscripts 55510582db Merge changes from trunk %!s(int64=4) %!d(string=hai) anos
chapter01 d94d11aad6 MultiLib: Merge changes from trunk %!s(int64=4) %!d(string=hai) anos
chapter02 013d9c0786 Merge trunk; Add a note about kernel config to hostreqs.xml %!s(int64=4) %!d(string=hai) anos
chapter03 854e6fa587 First apply of multilib-patch of April 1st, 2019 %!s(int64=4) %!d(string=hai) anos
chapter04 c448bedff3 Change profiling attribute to enable selection of m32 and/or mx32. Fixes #4452. %!s(int64=4) %!d(string=hai) anos
chapter05 fbe3deb0d4 MultiLib: Merge changes from trunk %!s(int64=4) %!d(string=hai) anos
chapter06 d94d11aad6 MultiLib: Merge changes from trunk %!s(int64=4) %!d(string=hai) anos
chapter07 013d9c0786 Merge trunk; Add a note about kernel config to hostreqs.xml %!s(int64=4) %!d(string=hai) anos
chapter08 7b7b0d8edc Apply trunk changes %!s(int64=4) %!d(string=hai) anos
chapter09 c448bedff3 Change profiling attribute to enable selection of m32 and/or mx32. Fixes #4452. %!s(int64=4) %!d(string=hai) anos
images 5c3f304a8f Adding some new png files to supoprt alternate css %!s(int64=10) %!d(string=hai) anos
prologue c448bedff3 Change profiling attribute to enable selection of m32 and/or mx32. Fixes #4452. %!s(int64=4) %!d(string=hai) anos
stylesheets 25332b5e97 Add comments to the kernel section to change the unwinder option. %!s(int64=7) %!d(string=hai) anos
udev-lfs b4c82dcb7f Also update udev-lfs Makefile in source %!s(int64=7) %!d(string=hai) anos
INSTALL 1c6c92e9eb Change the link for HTMLTidy in INSTALL. Thanks to Xi Ruoyao for report. %!s(int64=7) %!d(string=hai) anos
Makefile d94d11aad6 MultiLib: Merge changes from trunk %!s(int64=4) %!d(string=hai) anos
README 141be70e59 Test commit %!s(int64=7) %!d(string=hai) anos
aux-file-data.sh d94d11aad6 MultiLib: Merge changes from trunk %!s(int64=4) %!d(string=hai) anos
general.ent d94d11aad6 MultiLib: Merge changes from trunk %!s(int64=4) %!d(string=hai) anos
index.xml 35a5259fe6 Optimize building merged books %!s(int64=9) %!d(string=hai) anos
lfs-bootscripts-20190524.tar.xz d94d11aad6 MultiLib: Merge changes from trunk %!s(int64=4) %!d(string=hai) anos
lfs-latest.php fbe3deb0d4 MultiLib: Merge changes from trunk %!s(int64=4) %!d(string=hai) anos
make-aux-files.sh d94d11aad6 MultiLib: Merge changes from trunk %!s(int64=4) %!d(string=hai) anos
obfuscate.sh 05d60cedcd Added a versose flag and other fixes to the Makefile. %!s(int64=18) %!d(string=hai) anos
packages.ent d94d11aad6 MultiLib: Merge changes from trunk %!s(int64=4) %!d(string=hai) anos
patches.ent d94d11aad6 MultiLib: Merge changes from trunk %!s(int64=4) %!d(string=hai) anos
pdf-fixups.sh 040ecb6de9 Update to man-db-2.7.4. %!s(int64=9) %!d(string=hai) anos
process-scripts.sh b2b1e1aa5f Move directory to make build easier %!s(int64=13) %!d(string=hai) anos
tidy.conf 5b949a9f84 Adjust tidy.conf for recent version %!s(int64=7) %!d(string=hai) anos

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.

In all examples, setting the parameter REV=systemd is needed to build the
systemd version of the book.

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