Go to file
2023-12-06 17:26:10 +08:00
appendices util-linux: Add asciidoctor and po4a as dependencies 2023-12-05 12:11:47 +08:00
bootscripts bootscripts: change "halt stop" to "halt start" 2023-10-04 15:52:42 +02:00
chapter01 Fix cmds installing python docs (permissions) 2023-12-04 19:15:01 +01:00
chapter02 hostreqs: Bump Coreutils minimal version to 8.1 and check for nproc 2023-11-13 21:00:03 +08:00
chapter03 PAckage updates. 2023-10-31 14:10:03 -05:00
chapter04 Setting Environment: minor tweak 2023-11-22 16:08:30 -06:00
chapter05 Package updates and one fix. 2023-10-01 13:37:57 -05:00
chapter06 gcc-pass2: Fix the indent of the sed command in case 2023-12-03 12:42:28 +08:00
chapter07 kernfs: Revise command creating the link target in case /dev/shm is a symlink 2023-11-20 07:23:36 +08:00
chapter08 Fix cmds installing python docs (permissions) 2023-12-04 19:15:01 +01:00
chapter09 systemd: Use NSS modules provided by systemd in nsswitch.conf 2023-09-14 16:50:37 +08:00
chapter10 kernel-config: The hot key for choices is just the first character 2023-12-06 17:26:10 +08:00
chapter11 afterlfs: "Work remotely via SSH" does not strictly need wget 2023-09-24 20:07:32 +08:00
images
part3intro Move a caution to a better page. 2023-09-04 15:08:43 -05:00
prologue package choices: Fix a typo 2023-07-28 20:01:29 +08:00
stylesheets Generate utf-8 encoded html 2023-11-23 20:59:52 +01:00
udev-lfs Update to udev-lfs-20230818 2023-08-18 10:35:49 -05:00
.gitignore build: Add "make dist" 2023-09-13 14:10:38 +08:00
aux-file-data.sh Convert bootscripts and udev tarballs to xz 2019-06-30 19:25:49 +00:00
gen-changelog.py Package update 2023-07-03 06:14:40 +08:00
general.ent Add --no-cache-dir into pip3 wheel commands for Python modules 2023-09-03 00:48:20 +08:00
git-version.sh git-version: Always skip creating version.ent if LFS-RELEASE exists 2023-09-13 16:08:06 +08:00
index.xml Just a test 2021-04-13 15:01:48 -05:00
INSTALL doc: correct the URL of BLFS docbook-xml-4.5 page 2022-02-23 02:10:17 +08:00
lfs-latest-git.php Update currency for setuptools 2023-11-01 11:10:45 -05:00
lfs-latest.php currency: Remove stale lfs-latest.php and symlink lfs-latest-git.php to it 2023-09-03 03:30:43 +08:00
make-aux-files.sh Fix make-aux-file for lfs-bootscript entities 2021-09-22 23:21:31 +02:00
Makefile Generate utf-8 encoded html 2023-11-23 20:59:52 +01:00
obfuscate.sh Fix small typos 2023-08-03 22:55:17 +08:00
packages.ent Use GitHub for vim download 2023-12-01 16:39:58 +08:00
patches.ent Package updates. 2023-11-30 13:00:51 -06:00
pdf-fixups.sh Fix pdf presentation issues and some misc issues 2022-03-14 13:08:40 -05:00
process-scripts.sh Remove eol spaces 2021-09-07 23:10:29 +02:00
README Remove eol spaces 2021-09-07 23:05:44 +02:00
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