[lfs-dev] 7.9 & dev: extraneous markup - kernel headers pages.

akhiezer lfs65 at cruziero.com
Fri Apr 8 02:28:29 PDT 2016


lfs 7.9 & svn-20160407 : ch.5 & ch.6 'linux-headers' pages have a
bit of extraneous markup for commands, that doesn't follow practice
in rest of book.

Example:
====
* http://www.linuxfromscratch.org/lfs/view/stable/chapter05/linux-headers.html

  Rendered txt:

    make INSTALL_HDR_PATH=dest headers_install
    cp -rv dest/include/* /tools/include

  Corresp html (~~de-fanged):

        [pre class="userinput"]
[kbd class="command"]make INSTALL_HDR_PATH=dest headers_install
[/kbd][kbd class="command"]cp -rv dest/include/* /tools/include[/kbd]
[/pre]
====
Each command is wrapped in its own [kbd] tag: whereas the book appears
to follow the general practice of only using one [kbd] tag-pair for
the cmd-block.


Similarly:
----
* http://www.linuxfromscratch.org/lfs/view/stable/chapter06/linux-headers.html

 make INSTALL_HDR_PATH=dest headers_install
 find dest/include \( -name .install -o -name ..install.cmd \) -delete
 cp -rv dest/include/* /usr/include

[kbd class="command"]make INSTALL_HDR_PATH=dest headers_install
find dest/include \( -name .install -o -name ..install.cmd \) -delete
[/kbd][kbd class="command"]cp -rv dest/include/* /usr/include[/kbd]
----
The same cp-rv cmd is in its own [kbd] tag-pair: whereas the make &
find share the one [kbd] tag-pair, like in the rest of the book.


Cf. e.g.:
===
* http://www.linuxfromscratch.org/lfs/view/stable/chapter06/automake.html

 sed -i "s:./configure:LEXLIB=/usr/lib/libfl.a &:" t/lex-{clean,depend}-cxx.sh
 make -j4 check

        [pre class="userinput"]
[kbd class=
"command"]sed -i "s:./configure:LEXLIB=/usr/lib/libfl.a &:" t/lex-{clean,depend}-cxx.sh
make -j4 check[/kbd]
[/pre]
===
Again, just one '[kbd]' tag-pair for the cmd-block; which follows
apparent general book practice.


Similarly for SVN-20160407 . Corresp html refs are:
---
http://www.linuxfromscratch.org/lfs/view/development/chapter06/linux-headers.html
http://www.linuxfromscratch.org/lfs/view/development/chapter05/linux-headers.html
http://www.linuxfromscratch.org/lfs/view/development/chapter06/automake.html
---


We didn't track-back to the xml sources, 'fraid.



rgds,
akh





--


More information about the lfs-dev mailing list