Go to file
2025-05-31 22:43:04 +02:00
appendices dependencies: Packaging needs Flit-core to be built 2025-04-21 16:49:39 +08:00
bootscripts
chapter01 Merge gcc15 branch (which will be merged to trunk soon) 2025-05-31 07:59:23 +02:00
chapter02
chapter03 Merge gcc15 branch (which will be merged to trunk soon) 2025-05-31 07:59:23 +02:00
chapter04
chapter05 Merge gcc15 branch (which will be merged to trunk soon) 2025-05-31 07:59:23 +02:00
chapter06 Merge gcc15 branch (which will be merged to trunk soon) 2025-05-31 07:59:23 +02:00
chapter07
chapter08 Merge gcc15 branch (which will be merged to trunk soon) 2025-05-31 07:59:23 +02:00
chapter09 network: Fix the /etc/hosts line for local machine 2024-09-26 01:12:54 +08:00
chapter10
chapter11 os-release: Automatically update RELEASE_TYPE 2024-12-21 11:56:57 +08:00
images
part3intro Merge 2025-04-15 05:27:54 +02:00
prologue Fix some typos 2024-11-07 14:48:54 +01:00
stylesheets Fix displaying note numbers also in pdf 2025-03-17 13:26:58 +01:00
udev-lfs Typos on comments. 2024-08-23 14:01:06 -05:00
.gitignore
aux-file-data.sh
gen-changelog.py Merge 2025-02-25 06:52:04 +01:00
general.ent Drop the min-kernel alignment hack 2025-05-23 12:23:43 +08:00
git-version.sh
index.xml
INSTALL doc: correct the URL of BLFS docbook-xml-4.5 page 2022-02-23 02:10:17 +08:00
lfs-latest-git.php Restore openssl currency. 2025-05-12 10:50:04 -05:00
lfs-latest.php
make-aux-files.sh
Makefile
obfuscate.sh
packages.ent Fix missed conflicts 2025-05-31 08:07:40 +02:00
patches.ent Fix missed conflicts 2025-05-31 08:07:40 +02:00
pdf-fixups.sh
process-scripts.sh
README
tidy.conf Generate utf-8 encoded html 2023-11-23 20:59:52 +01:00

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