Archived. See https://git.mengyan1223.wang/xry111/lfs-book-i18n insteadly. https://bf.mengyan1223.wang/lfs/zh_CN

Pierre Labastie e0261d488b Fix the rendering of an xref to man pages on the shadow page 6 years ago
appendices a405a350c1 Add libelf to dependencies section 6 years ago
bootscripts 8ef04e4e28 Tweak the Makefile 6 years ago
chapter01 4d746795f1 Update some packages. 6 years ago
chapter02 60bb67378c Update minimum make version to 4.0 required by glibc-2.28 6 years ago
chapter03 edd6679d39 Packages (sysv) - move eudev into alphabetical order. 6 years ago
chapter04 07b35f0abd Add role="nodump" to examples in "About SBUs" 6 years ago
chapter05 afea920ef4 Restore build of Util-Linux in chapter5 to avoid reciprocal dependency for Systemd 6 years ago
chapter06 e0261d488b Fix the rendering of an xref to man pages on the shadow page 6 years ago
chapter07 b083f2f5a1 Missed configure to meson command in systemd-custom.xml 6 years ago
chapter08 5c8dd11ff9 Fix a typo 6 years ago
chapter09 e7522c4482 Cherry-pick r11387 6 years ago
fonts 20ddbe4881 Import Chinese fonts from old repo 6 years ago
images 5c3f304a8f Adding some new png files to supoprt alternate css 9 years ago
prologue c953df3152 Fix FHS URL 6 years ago
stylesheets 20ddbe4881 Import Chinese fonts from old repo 6 years ago
udev-lfs b4c82dcb7f Also update udev-lfs Makefile in source 7 years ago
.gitignore 49d987634c gitignore: vim swap files 6 years ago
INSTALL bd7413592b Change the link for HTMLTidy in INSTALL. Thanks to Xi Ruoyao for report. 6 years ago
Makefile b46d3f899f Comment out the "dump-commands" target in Makefile 6 years ago
README 40869c3002 Remove extra empty lines in README 6 years ago
aux-file-data.sh ba8848f4d0 Fix a few more typos and whitespaces. 11 years ago
fopconfig.xml 20ddbe4881 Import Chinese fonts from old repo 6 years ago
general.ent 4d746795f1 Update some packages. 6 years ago
index.xml 2db7bcca32 chapter01, index: Fix translation of "introduction" 6 years ago
lfs-latest.php 3aff510f6c Fix for new bzip2 location 6 years ago
make-aux-files.sh f896e21c3f Updated udev to version 186. This update has a major procedure 12 years ago
obfuscate.sh 05d60cedcd Added a versose flag and other fixes to the Makefile. 17 years ago
packages.ent 4d746795f1 Update some packages. 6 years ago
patches.ent 4a54088804 Fix typo for systemd/meson patch 6 years ago
pdf-fixups.sh b08840ad50 Host check script: Do not break it manually. 6 years ago
process-scripts.sh b2b1e1aa5f Move directory to make build easier 12 years ago
tidy.conf a26f83f9b9 Adjust tidy.conf for recent version 6 years ago

README

这是 Linux From Scratch 的中文翻译版。

由于译者水平、时间有限,必然存在很多错误。如果您发现错误,无论是原书的错误还是
翻译错误,均可在 gogs 工单系统
指出。

下面是原书 README 文件的翻译。

-------------------------------手动分割线---------------------------------------

LFS Book README

本文档的目的是帮助用户了解如何将本书的 XML 源码转换成其他格式(如 HTML, PDF, PS
以及 TXT 等)。首先,如果这是您第一次进行这样的操作,请根据 INSTALL 文件的说明,
安装所需的软件。如果您已经完成了 INSTALL 文件给出的安装步骤,请继续阅读本文,您将
会看到将本书转换成其他格式的命令示例。

在所有示例中,设置参数 REV=systemd 即可生成本书的 systemd 版本。

将 XML 转换成 XHTML:
-------------
make BASEDIR=/path/to/output/location


将 XML 转换成单个 XHTML 文件 (不分块):
------------------------------------
make BASEDIR=/path/to/output/location nochunks

将 XML 转换成 TXT:
----------
首先生成单个不分块的 XHTML 文件,然后执行
lynx -dump /path/to/nochunks >/path/to/output

将 XML 转换成 PDF:
-----------
make BASEDIR=/path/to/output/location pdf