>From 464c7bc0fa13ca8d6eb554d798eae2186867ac14 Mon Sep 17 00:00:00 2001 From: Dan Nicholson <[EMAIL PROTECTED]> Date: Thu, 19 Jul 2007 18:15:20 -0700 Subject: [PATCH] Add package info in sect1info elements
I've been playing around with jhalfs and I realized that there was no easy way to access the package name and version on a given page. Manuel and I had a discussion on alfs-discuss and he suggested using the <productname> and <productnumber> children of the <sect1info> elements. http://linuxfromscratch.org/pipermail/alfs-discuss/2007-July/009376.html These are currently unused, so shouldn't have any conflicts. Further, the sect1info element is protected by the condition attribute to prevent it from being processed by the HTML or PDF stylesheets. I added these elements to all the packages in Ch. 5 and Ch.6 and the kernel page in Ch. 8. The HTML output was diffed and no changes were shown. Any objections? -- Dan BOOK/chapter05/bash.xml | 5 +++++ BOOK/chapter05/binutils-pass1.xml | 5 +++++ BOOK/chapter05/binutils-pass2.xml | 5 +++++ BOOK/chapter05/bison.xml | 5 +++++ BOOK/chapter05/bzip2.xml | 5 +++++ BOOK/chapter05/coreutils.xml | 5 +++++ BOOK/chapter05/dejagnu.xml | 5 +++++ BOOK/chapter05/diffutils.xml | 5 +++++ BOOK/chapter05/expect.xml | 5 +++++ BOOK/chapter05/findutils.xml | 5 +++++ BOOK/chapter05/flex.xml | 5 +++++ BOOK/chapter05/gawk.xml | 5 +++++ BOOK/chapter05/gcc-pass1.xml | 5 +++++ BOOK/chapter05/gcc-pass2.xml | 5 +++++ BOOK/chapter05/gettext.xml | 5 +++++ BOOK/chapter05/glibc.xml | 5 +++++ BOOK/chapter05/grep.xml | 5 +++++ BOOK/chapter05/gzip.xml | 5 +++++ BOOK/chapter05/linux-headers.xml | 5 +++++ BOOK/chapter05/m4.xml | 5 +++++ BOOK/chapter05/make.xml | 5 +++++ BOOK/chapter05/ncurses.xml | 5 +++++ BOOK/chapter05/patch.xml | 5 +++++ BOOK/chapter05/perl.xml | 5 +++++ BOOK/chapter05/sed.xml | 5 +++++ BOOK/chapter05/tar.xml | 5 +++++ BOOK/chapter05/tcl.xml | 5 +++++ BOOK/chapter05/texinfo.xml | 5 +++++ BOOK/chapter05/util-linux.xml | 5 +++++ BOOK/chapter06/autoconf.xml | 5 +++++ BOOK/chapter06/automake.xml | 5 +++++ BOOK/chapter06/bash.xml | 5 +++++ BOOK/chapter06/binutils.xml | 5 +++++ BOOK/chapter06/bison.xml | 5 +++++ BOOK/chapter06/bzip2.xml | 5 +++++ BOOK/chapter06/coreutils.xml | 5 +++++ BOOK/chapter06/db.xml | 5 +++++ BOOK/chapter06/diffutils.xml | 5 +++++ BOOK/chapter06/e2fsprogs.xml | 5 +++++ BOOK/chapter06/file.xml | 5 +++++ BOOK/chapter06/findutils.xml | 5 +++++ BOOK/chapter06/flex.xml | 5 +++++ BOOK/chapter06/gawk.xml | 5 +++++ BOOK/chapter06/gcc.xml | 5 +++++ BOOK/chapter06/gettext.xml | 5 +++++ BOOK/chapter06/glibc.xml | 5 +++++ BOOK/chapter06/grep.xml | 5 +++++ BOOK/chapter06/groff.xml | 5 +++++ BOOK/chapter06/grub.xml | 5 +++++ BOOK/chapter06/gzip.xml | 5 +++++ BOOK/chapter06/iana-etc.xml | 5 +++++ BOOK/chapter06/inetutils.xml | 5 +++++ BOOK/chapter06/iproute2.xml | 5 +++++ BOOK/chapter06/kbd.xml | 5 +++++ BOOK/chapter06/less.xml | 5 +++++ BOOK/chapter06/libtool.xml | 5 +++++ BOOK/chapter06/linux-headers.xml | 5 +++++ BOOK/chapter06/m4.xml | 5 +++++ BOOK/chapter06/make.xml | 5 +++++ BOOK/chapter06/man-db.xml | 5 +++++ BOOK/chapter06/man-pages.xml | 5 +++++ BOOK/chapter06/mktemp.xml | 5 +++++ BOOK/chapter06/module-init-tools.xml | 5 +++++ BOOK/chapter06/ncurses.xml | 5 +++++ BOOK/chapter06/patch.xml | 5 +++++ BOOK/chapter06/perl.xml | 5 +++++ BOOK/chapter06/procps.xml | 5 +++++ BOOK/chapter06/psmisc.xml | 5 +++++ BOOK/chapter06/readline.xml | 5 +++++ BOOK/chapter06/sed.xml | 5 +++++ BOOK/chapter06/shadow.xml | 5 +++++ BOOK/chapter06/sysklogd.xml | 5 +++++ BOOK/chapter06/sysvinit.xml | 5 +++++ BOOK/chapter06/tar.xml | 5 +++++ BOOK/chapter06/texinfo.xml | 5 +++++ BOOK/chapter06/udev.xml | 5 +++++ BOOK/chapter06/util-linux.xml | 5 +++++ BOOK/chapter06/vim.xml | 5 +++++ BOOK/chapter06/zlib.xml | 5 +++++ BOOK/chapter08/kernel.xml | 5 +++++ BOOK/stylesheets/dump-commands.xsl | 22 ++++++++++++++++++++++ 81 files changed, 422 insertions(+), 0 deletions(-) diff --git a/BOOK/chapter05/bash.xml b/BOOK/chapter05/bash.xml index b92addc..58e558b 100644 --- a/BOOK/chapter05/bash.xml +++ b/BOOK/chapter05/bash.xml @@ -8,6 +8,11 @@ <sect1 id="ch-tools-bash" role="wrap"> <?dbhtml filename="bash.html"?> + <sect1info condition="script"> + <productname>tools-bash</productname> + <productnumber>&bash-version;</productnumber> + </sect1info> + <title>Bash-&bash-version;</title> <indexterm zone="ch-tools-bash"> diff --git a/BOOK/chapter05/binutils-pass1.xml b/BOOK/chapter05/binutils-pass1.xml index 4a4565e..9316b69 100644 --- a/BOOK/chapter05/binutils-pass1.xml +++ b/BOOK/chapter05/binutils-pass1.xml @@ -8,6 +8,11 @@ <sect1 id="ch-tools-binutils-pass1" role="wrap"> <?dbhtml filename="binutils-pass1.html"?> + <sect1info condition="script"> + <productname>tools-binutils-pass1</productname> + <productnumber>&binutils-version;</productnumber> + </sect1info> + <title>Binutils-&binutils-version; - Pass 1</title> <indexterm zone="ch-tools-binutils-pass1"> diff --git a/BOOK/chapter05/binutils-pass2.xml b/BOOK/chapter05/binutils-pass2.xml index 7405435..2761bea 100644 --- a/BOOK/chapter05/binutils-pass2.xml +++ b/BOOK/chapter05/binutils-pass2.xml @@ -8,6 +8,11 @@ <sect1 id="ch-tools-binutils-pass2" role="wrap"> <?dbhtml filename="binutils-pass2.html"?> + <sect1info condition="script"> + <productname>tools-binutils-pass2</productname> + <productnumber>&binutils-version;</productnumber> + </sect1info> + <title>Binutils-&binutils-version; - Pass 2</title> <indexterm zone="ch-tools-binutils-pass2"> diff --git a/BOOK/chapter05/bison.xml b/BOOK/chapter05/bison.xml index 48bf334..e15e0ba 100644 --- a/BOOK/chapter05/bison.xml +++ b/BOOK/chapter05/bison.xml @@ -8,6 +8,11 @@ <sect1 id="ch-tools-bison" role="wrap"> <?dbhtml filename="bison.html"?> + <sect1info condition="script"> + <productname>tools-bison</productname> + <productnumber>&bison-version;</productnumber> + </sect1info> + <title>Bison-&bison-version;</title> <indexterm zone="ch-tools-bison"> diff --git a/BOOK/chapter05/bzip2.xml b/BOOK/chapter05/bzip2.xml index 4535873..eff789e 100644 --- a/BOOK/chapter05/bzip2.xml +++ b/BOOK/chapter05/bzip2.xml @@ -8,6 +8,11 @@ <sect1 id="ch-tools-bzip2" role="wrap"> <?dbhtml filename="bzip2.html"?> + <sect1info condition="script"> + <productname>tools-bzip2</productname> + <productnumber>&bzip2-version;</productnumber> + </sect1info> + <title>Bzip2-&bzip2-version;</title> <indexterm zone="ch-tools-bzip2"> diff --git a/BOOK/chapter05/coreutils.xml b/BOOK/chapter05/coreutils.xml index 19211d8..b8e0d5d 100644 --- a/BOOK/chapter05/coreutils.xml +++ b/BOOK/chapter05/coreutils.xml @@ -8,6 +8,11 @@ <sect1 id="ch-tools-coreutils" role="wrap"> <?dbhtml filename="coreutils.html"?> + <sect1info condition="script"> + <productname>tools-coreutils</productname> + <productnumber>&coreutils-version;</productnumber> + </sect1info> + <title>Coreutils-&coreutils-version;</title> <indexterm zone="ch-tools-coreutils"> diff --git a/BOOK/chapter05/dejagnu.xml b/BOOK/chapter05/dejagnu.xml index 0df8332..8cc9486 100644 --- a/BOOK/chapter05/dejagnu.xml +++ b/BOOK/chapter05/dejagnu.xml @@ -8,6 +8,11 @@ <sect1 id="ch-tools-dejagnu" role="wrap"> <?dbhtml filename="dejagnu.html"?> + <sect1info condition="script"> + <productname>tools-dejagnu</productname> + <productnumber>&dejagnu-version;</productnumber> + </sect1info> + <title>DejaGNU-&dejagnu-version;</title> <indexterm zone="ch-tools-dejagnu"> diff --git a/BOOK/chapter05/diffutils.xml b/BOOK/chapter05/diffutils.xml index 7091b47..4c479c2 100644 --- a/BOOK/chapter05/diffutils.xml +++ b/BOOK/chapter05/diffutils.xml @@ -8,6 +8,11 @@ <sect1 id="ch-tools-diffutils" role="wrap"> <?dbhtml filename="diffutils.html"?> + <sect1info condition="script"> + <productname>tools-diffutils</productname> + <productnumber>&diffutils-version;</productnumber> + </sect1info> + <title>Diffutils-&diffutils-version;</title> <indexterm zone="ch-tools-diffutils"> diff --git a/BOOK/chapter05/expect.xml b/BOOK/chapter05/expect.xml index c813839..fb8ab4e 100644 --- a/BOOK/chapter05/expect.xml +++ b/BOOK/chapter05/expect.xml @@ -8,6 +8,11 @@ <sect1 id="ch-tools-expect" role="wrap"> <?dbhtml filename="expect.html"?> + <sect1info condition="script"> + <productname>tools-expect</productname> + <productnumber>&expect-version;</productnumber> + </sect1info> + <title>Expect-&expect-version;</title> <indexterm zone="ch-tools-expect"> diff --git a/BOOK/chapter05/findutils.xml b/BOOK/chapter05/findutils.xml index 940e8d4..efcd458 100644 --- a/BOOK/chapter05/findutils.xml +++ b/BOOK/chapter05/findutils.xml @@ -8,6 +8,11 @@ <sect1 id="ch-tools-findutils" role="wrap"> <?dbhtml filename="findutils.html"?> + <sect1info condition="script"> + <productname>tools-findutils</productname> + <productnumber>&findutils-version;</productnumber> + </sect1info> + <title>Findutils-&findutils-version;</title> <indexterm zone="ch-tools-findutils"> diff --git a/BOOK/chapter05/flex.xml b/BOOK/chapter05/flex.xml index 0d05fde..56f1fc4 100644 --- a/BOOK/chapter05/flex.xml +++ b/BOOK/chapter05/flex.xml @@ -8,6 +8,11 @@ <sect1 id="ch-tools-flex" role="wrap"> <?dbhtml filename="flex.html"?> + <sect1info condition="script"> + <productname>tools-flex</productname> + <productnumber>&flex-version;</productnumber> + </sect1info> + <title>Flex-&flex-version;</title> <indexterm zone="ch-tools-flex"> diff --git a/BOOK/chapter05/gawk.xml b/BOOK/chapter05/gawk.xml index 516f174..71dc390 100644 --- a/BOOK/chapter05/gawk.xml +++ b/BOOK/chapter05/gawk.xml @@ -8,6 +8,11 @@ <sect1 id="ch-tools-gawk" role="wrap"> <?dbhtml filename="gawk.html"?> + <sect1info condition="script"> + <productname>tools-gawk</productname> + <productnumber>&gawk-version;</productnumber> + </sect1info> + <title>Gawk-&gawk-version;</title> <indexterm zone="ch-tools-gawk"> diff --git a/BOOK/chapter05/gcc-pass1.xml b/BOOK/chapter05/gcc-pass1.xml index 75331be..ed249e8 100644 --- a/BOOK/chapter05/gcc-pass1.xml +++ b/BOOK/chapter05/gcc-pass1.xml @@ -8,6 +8,11 @@ <sect1 id="ch-tools-gcc-pass1" role="wrap"> <?dbhtml filename="gcc-pass1.html"?> + <sect1info condition="script"> + <productname>tools-gcc-pass1</productname> + <productnumber>&gcc-version;</productnumber> + </sect1info> + <title>GCC-&gcc-version; - Pass 1</title> <indexterm zone="ch-tools-gcc-pass1"> diff --git a/BOOK/chapter05/gcc-pass2.xml b/BOOK/chapter05/gcc-pass2.xml index 92874a4..8568f10 100644 --- a/BOOK/chapter05/gcc-pass2.xml +++ b/BOOK/chapter05/gcc-pass2.xml @@ -8,6 +8,11 @@ <sect1 id="ch-tools-gcc-pass2" role="wrap"> <?dbhtml filename="gcc-pass2.html"?> + <sect1info condition="script"> + <productname>tools-gcc-pass2</productname> + <productnumber>&gcc-version;</productnumber> + </sect1info> + <title>GCC-&gcc-version; - Pass 2</title> <indexterm zone="ch-tools-gcc-pass2"> diff --git a/BOOK/chapter05/gettext.xml b/BOOK/chapter05/gettext.xml index 4481bc0..3a2dc7e 100644 --- a/BOOK/chapter05/gettext.xml +++ b/BOOK/chapter05/gettext.xml @@ -8,6 +8,11 @@ <sect1 id="ch-tools-gettext" role="wrap"> <?dbhtml filename="gettext.html"?> + <sect1info condition="script"> + <productname>tools-gettext</productname> + <productnumber>&gettext-version;</productnumber> + </sect1info> + <title>Gettext-&gettext-version;</title> <indexterm zone="ch-tools-gettext"> diff --git a/BOOK/chapter05/glibc.xml b/BOOK/chapter05/glibc.xml index 0161c59..8c28616 100644 --- a/BOOK/chapter05/glibc.xml +++ b/BOOK/chapter05/glibc.xml @@ -8,6 +8,11 @@ <sect1 id="ch-tools-glibc" role="wrap"> <?dbhtml filename="glibc.html"?> + <sect1info condition="script"> + <productname>tools-glibc</productname> + <productnumber>&glibc-version;</productnumber> + </sect1info> + <title>Glibc-&glibc-version;</title> <indexterm zone="ch-tools-glibc"> diff --git a/BOOK/chapter05/grep.xml b/BOOK/chapter05/grep.xml index 863fe49..9f5ffe0 100644 --- a/BOOK/chapter05/grep.xml +++ b/BOOK/chapter05/grep.xml @@ -8,6 +8,11 @@ <sect1 id="ch-tools-grep" role="wrap"> <?dbhtml filename="grep.html"?> + <sect1info condition="script"> + <productname>tools-grep</productname> + <productnumber>&grep-version;</productnumber> + </sect1info> + <title>Grep-&grep-version;</title> <indexterm zone="ch-tools-grep"> diff --git a/BOOK/chapter05/gzip.xml b/BOOK/chapter05/gzip.xml index 7291e28..8045b86 100644 --- a/BOOK/chapter05/gzip.xml +++ b/BOOK/chapter05/gzip.xml @@ -8,6 +8,11 @@ <sect1 id="ch-tools-gzip" role="wrap"> <?dbhtml filename="gzip.html"?> + <sect1info condition="script"> + <productname>tools-gzip</productname> + <productnumber>&gzip-version;</productnumber> + </sect1info> + <title>Gzip-&gzip-version;</title> <indexterm zone="ch-tools-gzip"> diff --git a/BOOK/chapter05/linux-headers.xml b/BOOK/chapter05/linux-headers.xml index 0af82b5..9800a0c 100644 --- a/BOOK/chapter05/linux-headers.xml +++ b/BOOK/chapter05/linux-headers.xml @@ -8,6 +8,11 @@ <sect1 id="ch-tools-linux-headers" role="wrap"> <?dbhtml filename="linux-headers.html"?> + <sect1info condition="script"> + <productname>tools-linux-headers</productname> + <productnumber>&linux-version;</productnumber> + </sect1info> + <title>Linux-&linux-version; API Headers</title> <indexterm zone="ch-tools-linux-headers"> diff --git a/BOOK/chapter05/m4.xml b/BOOK/chapter05/m4.xml index f04135f..31b36bc 100644 --- a/BOOK/chapter05/m4.xml +++ b/BOOK/chapter05/m4.xml @@ -8,6 +8,11 @@ <sect1 id="ch-tools-m4" role="wrap"> <?dbhtml filename="m4.html"?> + <sect1info condition="script"> + <productname>m4</productname> + <productnumber>&m4-version;</productnumber> + </sect1info> + <title>M4-&m4-version;</title> <indexterm zone="ch-tools-m4"> diff --git a/BOOK/chapter05/make.xml b/BOOK/chapter05/make.xml index c4a39bc..294fe91 100644 --- a/BOOK/chapter05/make.xml +++ b/BOOK/chapter05/make.xml @@ -7,6 +7,11 @@ <sect1 id="ch-tools-make" role="wrap"> <?dbhtml filename="make.html"?> + <sect1info condition="script"> + <productname>tools-make</productname> + <productnumber>&make-version;</productnumber> + </sect1info> + <title>Make-&make-version;</title> <indexterm zone="ch-tools-make"> diff --git a/BOOK/chapter05/ncurses.xml b/BOOK/chapter05/ncurses.xml index 675653e..2f549c4 100644 --- a/BOOK/chapter05/ncurses.xml +++ b/BOOK/chapter05/ncurses.xml @@ -8,6 +8,11 @@ <sect1 id="ch-tools-ncurses" role="wrap"> <?dbhtml filename="ncurses.html"?> + <sect1info condition="script"> + <productname>tools-ncurses</productname> + <productnumber>&ncurses-version;</productnumber> + </sect1info> + <title>Ncurses-&ncurses-version;</title> <indexterm zone="ch-tools-ncurses"> diff --git a/BOOK/chapter05/patch.xml b/BOOK/chapter05/patch.xml index 9910dbd..c55f352 100644 --- a/BOOK/chapter05/patch.xml +++ b/BOOK/chapter05/patch.xml @@ -8,6 +8,11 @@ <sect1 id="ch-tools-patch" role="wrap"> <?dbhtml filename="patch.html"?> + <sect1info condition="script"> + <productname>tools-patch</productname> + <productnumber>&patch-version;</productnumber> + </sect1info> + <title>Patch-&patch-version;</title> <indexterm zone="ch-tools-patch"> diff --git a/BOOK/chapter05/perl.xml b/BOOK/chapter05/perl.xml index 1248135..3296366 100644 --- a/BOOK/chapter05/perl.xml +++ b/BOOK/chapter05/perl.xml @@ -8,6 +8,11 @@ <sect1 id="ch-tools-perl" role="wrap"> <?dbhtml filename="perl.html"?> + <sect1info condition="script"> + <productname>tools-perl</productname> + <productnumber>&perl-version;</productnumber> + </sect1info> + <title>Perl-&perl-version;</title> <indexterm zone="ch-tools-perl"> diff --git a/BOOK/chapter05/sed.xml b/BOOK/chapter05/sed.xml index 87297d9..153508b 100644 --- a/BOOK/chapter05/sed.xml +++ b/BOOK/chapter05/sed.xml @@ -8,6 +8,11 @@ <sect1 id="ch-tools-sed" role="wrap"> <?dbhtml filename="sed.html"?> + <sect1info condition="script"> + <productname>tools-sed</productname> + <productnumber>&sed-version;</productnumber> + </sect1info> + <title>Sed-&sed-version;</title> <indexterm zone="ch-tools-sed"> diff --git a/BOOK/chapter05/tar.xml b/BOOK/chapter05/tar.xml index 87c627d..d02be1a 100644 --- a/BOOK/chapter05/tar.xml +++ b/BOOK/chapter05/tar.xml @@ -8,6 +8,11 @@ <sect1 id="ch-tools-tar" role="wrap"> <?dbhtml filename="tar.html"?> + <sect1info condition="script"> + <productname>tools-tar</productname> + <productnumber>&tar-version;</productnumber> + </sect1info> + <title>Tar-&tar-version;</title> <indexterm zone="ch-tools-tar"> diff --git a/BOOK/chapter05/tcl.xml b/BOOK/chapter05/tcl.xml index 32a45f4..2538b56 100644 --- a/BOOK/chapter05/tcl.xml +++ b/BOOK/chapter05/tcl.xml @@ -8,6 +8,11 @@ <sect1 id="ch-tools-tcl" role="wrap"> <?dbhtml filename="tcl.html"?> + <sect1info condition="script"> + <productname>tools-tcl</productname> + <productnumber>&tcl-version;</productnumber> + </sect1info> + <title>Tcl-&tcl-version;</title> <indexterm zone="ch-tools-tcl"> diff --git a/BOOK/chapter05/texinfo.xml b/BOOK/chapter05/texinfo.xml index cda624e..67d6491 100644 --- a/BOOK/chapter05/texinfo.xml +++ b/BOOK/chapter05/texinfo.xml @@ -8,6 +8,11 @@ <sect1 id="ch-tools-texinfo" role="wrap"> <?dbhtml filename="texinfo.html"?> + <sect1info condition="script"> + <productname>tools-texinfo</productname> + <productnumber>&texinfo-version;</productnumber> + </sect1info> + <title>Texinfo-&texinfo-version;</title> <indexterm zone="ch-tools-texinfo"> diff --git a/BOOK/chapter05/util-linux.xml b/BOOK/chapter05/util-linux.xml index 5f7d8df..8a44ae6 100644 --- a/BOOK/chapter05/util-linux.xml +++ b/BOOK/chapter05/util-linux.xml @@ -8,6 +8,11 @@ <sect1 id="ch-tools-util-linux" role="wrap"> <?dbhtml filename="util-linux.html"?> + <sect1info condition="script"> + <productname>tools-util-linux</productname> + <productnumber>&util-linux-version;</productnumber> + </sect1info> + <title>Util-linux-&util-linux-version;</title> <indexterm zone="ch-tools-util-linux"> diff --git a/BOOK/chapter06/autoconf.xml b/BOOK/chapter06/autoconf.xml index fd1df54..b85fd8b 100644 --- a/BOOK/chapter06/autoconf.xml +++ b/BOOK/chapter06/autoconf.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-autoconf" role="wrap"> <?dbhtml filename="autoconf.html"?> + <sect1info condition="script"> + <productname>autoconf</productname> + <productnumber>&autoconf-version;</productnumber> + </sect1info> + <title>Autoconf-&autoconf-version;</title> <indexterm zone="ch-system-autoconf"> diff --git a/BOOK/chapter06/automake.xml b/BOOK/chapter06/automake.xml index 3cc65a2..2ede092 100644 --- a/BOOK/chapter06/automake.xml +++ b/BOOK/chapter06/automake.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-automake" role="wrap"> <?dbhtml filename="automake.html"?> + <sect1info condition="script"> + <productname>automake</productname> + <productnumber>&automake-version;</productnumber> + </sect1info> + <title>Automake-&automake-version;</title> <indexterm zone="ch-system-automake"> diff --git a/BOOK/chapter06/bash.xml b/BOOK/chapter06/bash.xml index 14208e3..e9b69e9 100644 --- a/BOOK/chapter06/bash.xml +++ b/BOOK/chapter06/bash.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-bash" role="wrap"> <?dbhtml filename="bash.html"?> + <sect1info condition="script"> + <productname>bash</productname> + <productnumber>&bash-version;</productnumber> + </sect1info> + <title>Bash-&bash-version;</title> <indexterm zone="ch-system-bash"> diff --git a/BOOK/chapter06/binutils.xml b/BOOK/chapter06/binutils.xml index 3e6a45f..bc86ff3 100644 --- a/BOOK/chapter06/binutils.xml +++ b/BOOK/chapter06/binutils.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-binutils" role="wrap"> <?dbhtml filename="binutils.html"?> + <sect1info condition="script"> + <productname>binutils</productname> + <productnumber>&binutils-version;</productnumber> + </sect1info> + <title>Binutils-&binutils-version;</title> <indexterm zone="ch-system-binutils"> diff --git a/BOOK/chapter06/bison.xml b/BOOK/chapter06/bison.xml index cb4822e..0b129b5 100644 --- a/BOOK/chapter06/bison.xml +++ b/BOOK/chapter06/bison.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-bison" role="wrap"> <?dbhtml filename="bison.html"?> + <sect1info condition="script"> + <productname>bison</productname> + <productnumber>&bison-version;</productnumber> + </sect1info> + <title>Bison-&bison-version;</title> <indexterm zone="ch-system-bison"> diff --git a/BOOK/chapter06/bzip2.xml b/BOOK/chapter06/bzip2.xml index a0243bb..22f6917 100644 --- a/BOOK/chapter06/bzip2.xml +++ b/BOOK/chapter06/bzip2.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-bzip2" role="wrap"> <?dbhtml filename="bzip2.html"?> + <sect1info condition="script"> + <productname>bzip2</productname> + <productnumber>&bzip2-version;</productnumber> + </sect1info> + <title>Bzip2-&bzip2-version;</title> <indexterm zone="ch-system-bzip2"> diff --git a/BOOK/chapter06/coreutils.xml b/BOOK/chapter06/coreutils.xml index 7ba700b..884a3c4 100644 --- a/BOOK/chapter06/coreutils.xml +++ b/BOOK/chapter06/coreutils.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-coreutils" role="wrap"> <?dbhtml filename="coreutils.html"?> + <sect1info condition="script"> + <productname>coreutils</productname> + <productnumber>&coreutils-version;</productnumber> + </sect1info> + <title>Coreutils-&coreutils-version;</title> <indexterm zone="ch-system-coreutils"> diff --git a/BOOK/chapter06/db.xml b/BOOK/chapter06/db.xml index 93693ac..b08d199 100644 --- a/BOOK/chapter06/db.xml +++ b/BOOK/chapter06/db.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-db" role="wrap"> <?dbhtml filename="db.html"?> + <sect1info condition="script"> + <productname>db</productname> + <productnumber>&db-version;</productnumber> + </sect1info> + <title>Berkeley DB-&db-version;</title> <indexterm zone="ch-system-db"> diff --git a/BOOK/chapter06/diffutils.xml b/BOOK/chapter06/diffutils.xml index fe03db4..df9e529 100644 --- a/BOOK/chapter06/diffutils.xml +++ b/BOOK/chapter06/diffutils.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-diffutils" role="wrap"> <?dbhtml filename="diffutils.html"?> + <sect1info condition="script"> + <productname>diffutils</productname> + <productnumber>&diffutils-version;</productnumber> + </sect1info> + <title>Diffutils-&diffutils-version;</title> <indexterm zone="ch-system-diffutils"> diff --git a/BOOK/chapter06/e2fsprogs.xml b/BOOK/chapter06/e2fsprogs.xml index 5974144..ec1de4c 100644 --- a/BOOK/chapter06/e2fsprogs.xml +++ b/BOOK/chapter06/e2fsprogs.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-e2fsprogs" role="wrap"> <?dbhtml filename="e2fsprogs.html"?> + <sect1info condition="script"> + <productname>e2fsprogs</productname> + <productnumber>&e2fsprogs-version;</productnumber> + </sect1info> + <title>E2fsprogs-&e2fsprogs-version;</title> <indexterm zone="ch-system-e2fsprogs"> diff --git a/BOOK/chapter06/file.xml b/BOOK/chapter06/file.xml index 360e4b0..2eb08e7 100644 --- a/BOOK/chapter06/file.xml +++ b/BOOK/chapter06/file.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-file" role="wrap"> <?dbhtml filename="file.html"?> + <sect1info condition="script"> + <productname>file</productname> + <productnumber>&file-version;</productnumber> + </sect1info> + <title>File-&file-version;</title> <indexterm zone="ch-system-file"> diff --git a/BOOK/chapter06/findutils.xml b/BOOK/chapter06/findutils.xml index 388727f..8a54ae9 100644 --- a/BOOK/chapter06/findutils.xml +++ b/BOOK/chapter06/findutils.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-findutils" role="wrap"> <?dbhtml filename="findutils.html"?> + <sect1info condition="script"> + <productname>findutils</productname> + <productnumber>&findutils-version;</productnumber> + </sect1info> + <title>Findutils-&findutils-version;</title> <indexterm zone="ch-system-findutils"> diff --git a/BOOK/chapter06/flex.xml b/BOOK/chapter06/flex.xml index 4a89d0c..709b719 100644 --- a/BOOK/chapter06/flex.xml +++ b/BOOK/chapter06/flex.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-flex" role="wrap"> <?dbhtml filename="flex.html"?> + <sect1info condition="script"> + <productname>flex</productname> + <productnumber>&flex-version;</productnumber> + </sect1info> + <title>Flex-&flex-version;</title> <indexterm zone="ch-system-flex"> diff --git a/BOOK/chapter06/gawk.xml b/BOOK/chapter06/gawk.xml index 8e38a43..1e0dea1 100644 --- a/BOOK/chapter06/gawk.xml +++ b/BOOK/chapter06/gawk.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-gawk" role="wrap"> <?dbhtml filename="gawk.html"?> + <sect1info condition="script"> + <productname>gawk</productname> + <productnumber>&gawk-version;</productnumber> + </sect1info> + <title>Gawk-&gawk-version;</title> <indexterm zone="ch-system-gawk"> diff --git a/BOOK/chapter06/gcc.xml b/BOOK/chapter06/gcc.xml index 66fdad5..4d55442 100644 --- a/BOOK/chapter06/gcc.xml +++ b/BOOK/chapter06/gcc.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-gcc" role="wrap"> <?dbhtml filename="gcc.html"?> + <sect1info condition="script"> + <productname>gcc</productname> + <productnumber>&gcc-version;</productnumber> + </sect1info> + <title>GCC-&gcc-version;</title> <indexterm zone="ch-system-gcc"> diff --git a/BOOK/chapter06/gettext.xml b/BOOK/chapter06/gettext.xml index 5a96088..07425ef 100644 --- a/BOOK/chapter06/gettext.xml +++ b/BOOK/chapter06/gettext.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-gettext" role="wrap"> <?dbhtml filename="gettext.html"?> + <sect1info condition="script"> + <productname>gettext</productname> + <productnumber>&gettext-version;</productnumber> + </sect1info> + <title>Gettext-&gettext-version;</title> <indexterm zone="ch-system-gettext"> diff --git a/BOOK/chapter06/glibc.xml b/BOOK/chapter06/glibc.xml index 608274f..7eb0a4d 100644 --- a/BOOK/chapter06/glibc.xml +++ b/BOOK/chapter06/glibc.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-glibc" role="wrap"> <?dbhtml filename="glibc.html"?> + <sect1info condition="script"> + <productname>glibc</productname> + <productnumber>&glibc-version;</productnumber> + </sect1info> + <title>Glibc-&glibc-version;</title> <indexterm zone="ch-system-glibc"> diff --git a/BOOK/chapter06/grep.xml b/BOOK/chapter06/grep.xml index 6e7bebf..139ce30 100644 --- a/BOOK/chapter06/grep.xml +++ b/BOOK/chapter06/grep.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-grep" role="wrap"> <?dbhtml filename="grep.html"?> + <sect1info condition="script"> + <productname>grep</productname> + <productnumber>&grep-version;</productnumber> + </sect1info> + <title>Grep-&grep-version;</title> <indexterm zone="ch-system-grep"> diff --git a/BOOK/chapter06/groff.xml b/BOOK/chapter06/groff.xml index a8e5c3f..fe5a300 100644 --- a/BOOK/chapter06/groff.xml +++ b/BOOK/chapter06/groff.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-groff" role="wrap"> <?dbhtml filename="groff.html"?> + <sect1info condition="script"> + <productname>groff</productname> + <productnumber>&groff-version;</productnumber> + </sect1info> + <title>Groff-&groff-version;</title> <indexterm zone="ch-system-groff"> diff --git a/BOOK/chapter06/grub.xml b/BOOK/chapter06/grub.xml index 2378873..4652064 100644 --- a/BOOK/chapter06/grub.xml +++ b/BOOK/chapter06/grub.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-grub" role="wrap"> <?dbhtml filename="grub.html"?> + <sect1info condition="script"> + <productname>grub</productname> + <productnumber>&grub-version;</productnumber> + </sect1info> + <title>GRUB-&grub-version;</title> <indexterm zone="ch-system-grub"> diff --git a/BOOK/chapter06/gzip.xml b/BOOK/chapter06/gzip.xml index a819a88..24ea945 100644 --- a/BOOK/chapter06/gzip.xml +++ b/BOOK/chapter06/gzip.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-gzip" role="wrap"> <?dbhtml filename="gzip.html"?> + <sect1info condition="script"> + <productname>gzip</productname> + <productnumber>&gzip-version;</productnumber> + </sect1info> + <title>Gzip-&gzip-version;</title> <indexterm zone="ch-system-gzip"> diff --git a/BOOK/chapter06/iana-etc.xml b/BOOK/chapter06/iana-etc.xml index e0b7417..17669b2 100644 --- a/BOOK/chapter06/iana-etc.xml +++ b/BOOK/chapter06/iana-etc.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-iana-etc" role="wrap"> <?dbhtml filename="iana-etc.html"?> + <sect1info condition="script"> + <productname>iana-etc</productname> + <productnumber>&iana-etc-version;</productnumber> + </sect1info> + <title>Iana-Etc-&iana-etc-version;</title> <indexterm zone="ch-system-iana-etc"> diff --git a/BOOK/chapter06/inetutils.xml b/BOOK/chapter06/inetutils.xml index 3144f67..c926cbc 100644 --- a/BOOK/chapter06/inetutils.xml +++ b/BOOK/chapter06/inetutils.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-inetutils" role="wrap"> <?dbhtml filename="inetutils.html"?> + <sect1info condition="script"> + <productname>inetutils</productname> + <productnumber>&inetutils-version;</productnumber> + </sect1info> + <title>Inetutils-&inetutils-version;</title> <indexterm zone="ch-system-inetutils"> diff --git a/BOOK/chapter06/iproute2.xml b/BOOK/chapter06/iproute2.xml index 52bc4e5..79818f8 100644 --- a/BOOK/chapter06/iproute2.xml +++ b/BOOK/chapter06/iproute2.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-iproute2" role="wrap"> <?dbhtml filename="iproute2.html"?> + <sect1info condition="script"> + <productname>iproute2</productname> + <productnumber>&iproute2-version;</productnumber> + </sect1info> + <title>IPRoute2-&iproute2-version;</title> <indexterm zone="ch-system-iproute2"> diff --git a/BOOK/chapter06/kbd.xml b/BOOK/chapter06/kbd.xml index d93864d..18d4bf5 100644 --- a/BOOK/chapter06/kbd.xml +++ b/BOOK/chapter06/kbd.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-kbd" role="wrap"> <?dbhtml filename="kbd.html"?> + <sect1info condition="script"> + <productname>kbd</productname> + <productnumber>&kbd-version;</productnumber> + </sect1info> + <title>Kbd-&kbd-version;</title> <indexterm zone="ch-system-kbd"> diff --git a/BOOK/chapter06/less.xml b/BOOK/chapter06/less.xml index 21c6d99..f212122 100644 --- a/BOOK/chapter06/less.xml +++ b/BOOK/chapter06/less.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-less" role="wrap"> <?dbhtml filename="less.html"?> + <sect1info condition="script"> + <productname>less</productname> + <productnumber>&less-version;</productnumber> + </sect1info> + <title>Less-&less-version;</title> <indexterm zone="ch-system-less"> diff --git a/BOOK/chapter06/libtool.xml b/BOOK/chapter06/libtool.xml index 3684852..8ac7b45 100644 --- a/BOOK/chapter06/libtool.xml +++ b/BOOK/chapter06/libtool.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-libtool" role="wrap"> <?dbhtml filename="libtool.html"?> + <sect1info condition="script"> + <productname>libtool</productname> + <productnumber>&libtool-version;</productnumber> + </sect1info> + <title>Libtool-&libtool-version;</title> <indexterm zone="ch-system-libtool"> diff --git a/BOOK/chapter06/linux-headers.xml b/BOOK/chapter06/linux-headers.xml index db2ad95..5cb8145 100644 --- a/BOOK/chapter06/linux-headers.xml +++ b/BOOK/chapter06/linux-headers.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-linux-headers" role="wrap"> <?dbhtml filename="linux-headers.html"?> + <sect1info condition="script"> + <productname>linux-headers</productname> + <productnumber>&linux-version;</productnumber> + </sect1info> + <title>Linux-&linux-version; API Headers</title> <indexterm zone="ch-system-linux-headers"> diff --git a/BOOK/chapter06/m4.xml b/BOOK/chapter06/m4.xml index 4a66b0c..6543147 100644 --- a/BOOK/chapter06/m4.xml +++ b/BOOK/chapter06/m4.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-m4" role="wrap"> <?dbhtml filename="m4.html"?> + <sect1info condition="script"> + <productname>m4</productname> + <productnumber>&m4-version;</productnumber> + </sect1info> + <title>M4-&m4-version;</title> <indexterm zone="ch-system-m4"> diff --git a/BOOK/chapter06/make.xml b/BOOK/chapter06/make.xml index 6e5d58d..fcd7dcd 100644 --- a/BOOK/chapter06/make.xml +++ b/BOOK/chapter06/make.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-make" role="wrap"> <?dbhtml filename="make.html"?> + <sect1info condition="script"> + <productname>make</productname> + <productnumber>&make-version;</productnumber> + </sect1info> + <title>Make-&make-version;</title> <indexterm zone="ch-system-make"> diff --git a/BOOK/chapter06/man-db.xml b/BOOK/chapter06/man-db.xml index cc20e8b..120b419 100644 --- a/BOOK/chapter06/man-db.xml +++ b/BOOK/chapter06/man-db.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-man-db" role="wrap"> <?dbhtml filename="man-db.html"?> + <sect1info condition="script"> + <productname>man-db</productname> + <productnumber>&man-db-version;</productnumber> + </sect1info> + <title>Man-DB-&man-db-version;</title> <indexterm zone="ch-system-man-db"> diff --git a/BOOK/chapter06/man-pages.xml b/BOOK/chapter06/man-pages.xml index cd8ef14..3ab5855 100644 --- a/BOOK/chapter06/man-pages.xml +++ b/BOOK/chapter06/man-pages.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-man-pages" role="wrap"> <?dbhtml filename="man-pages.html"?> + <sect1info condition="script"> + <productname>man-pages</productname> + <productnumber>&man-pages-version;</productnumber> + </sect1info> + <title>Man-pages-&man-pages-version;</title> <indexterm zone="ch-system-man-pages"> diff --git a/BOOK/chapter06/mktemp.xml b/BOOK/chapter06/mktemp.xml index 33a65e0..65cac5d 100644 --- a/BOOK/chapter06/mktemp.xml +++ b/BOOK/chapter06/mktemp.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-mktemp" role="wrap"> <?dbhtml filename="mktemp.html"?> + <sect1info condition="script"> + <productname>mktemp</productname> + <productnumber>&mktemp-version;</productnumber> + </sect1info> + <title>Mktemp-&mktemp-version;</title> <indexterm zone="ch-system-mktemp"> diff --git a/BOOK/chapter06/module-init-tools.xml b/BOOK/chapter06/module-init-tools.xml index 3dcc8bf..d45136f 100644 --- a/BOOK/chapter06/module-init-tools.xml +++ b/BOOK/chapter06/module-init-tools.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-module-init-tools" role="wrap"> <?dbhtml filename="module-init-tools.html"?> + <sect1info condition="script"> + <productname>module-init-tools</productname> + <productnumber>&module-init-tools-version;</productnumber> + </sect1info> + <title>Module-Init-Tools-&module-init-tools-version;</title> <indexterm zone="ch-system-module-init-tools"> diff --git a/BOOK/chapter06/ncurses.xml b/BOOK/chapter06/ncurses.xml index 00d5de4..ab63a93 100644 --- a/BOOK/chapter06/ncurses.xml +++ b/BOOK/chapter06/ncurses.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-ncurses" role="wrap"> <?dbhtml filename="ncurses.html"?> + <sect1info condition="script"> + <productname>ncurses</productname> + <productnumber>&ncurses-version;</productnumber> + </sect1info> + <title>Ncurses-&ncurses-version;</title> <indexterm zone="ch-system-ncurses"> diff --git a/BOOK/chapter06/patch.xml b/BOOK/chapter06/patch.xml index beaac68..863d144 100644 --- a/BOOK/chapter06/patch.xml +++ b/BOOK/chapter06/patch.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-patch" role="wrap"> <?dbhtml filename="patch.html"?> + <sect1info condition="script"> + <productname>patch</productname> + <productnumber>&patch-version;</productnumber> + </sect1info> + <title>Patch-&patch-version;</title> <indexterm zone="ch-system-patch"> diff --git a/BOOK/chapter06/perl.xml b/BOOK/chapter06/perl.xml index 9c9104e..64d1233 100644 --- a/BOOK/chapter06/perl.xml +++ b/BOOK/chapter06/perl.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-perl" role="wrap"> <?dbhtml filename="perl.html"?> + <sect1info condition="script"> + <productname>perl</productname> + <productnumber>&perl-version;</productnumber> + </sect1info> + <title>Perl-&perl-version;</title> <indexterm zone="ch-system-perl"> diff --git a/BOOK/chapter06/procps.xml b/BOOK/chapter06/procps.xml index ae2226e..f2eae7d 100644 --- a/BOOK/chapter06/procps.xml +++ b/BOOK/chapter06/procps.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-procps" role="wrap"> <?dbhtml filename="procps.html"?> + <sect1info condition="script"> + <productname>procps</productname> + <productnumber>&procps-version;</productnumber> + </sect1info> + <title>Procps-&procps-version;</title> <indexterm zone="ch-system-procps"> diff --git a/BOOK/chapter06/psmisc.xml b/BOOK/chapter06/psmisc.xml index 559b1b8..1e0cb1d 100644 --- a/BOOK/chapter06/psmisc.xml +++ b/BOOK/chapter06/psmisc.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-psmisc" role="wrap"> <?dbhtml filename="psmisc.html"?> + <sect1info condition="script"> + <productname>psmisc</productname> + <productnumber>&psmisc-version;</productnumber> + </sect1info> + <title>Psmisc-&psmisc-version;</title> <indexterm zone="ch-system-psmisc"> diff --git a/BOOK/chapter06/readline.xml b/BOOK/chapter06/readline.xml index 5c2f96b..740682b 100644 --- a/BOOK/chapter06/readline.xml +++ b/BOOK/chapter06/readline.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-readline" role="wrap"> <?dbhtml filename="readline.html"?> + <sect1info condition="script"> + <productname>readline</productname> + <productnumber>&readline-version;</productnumber> + </sect1info> + <title>Readline-&readline-version;</title> <indexterm zone="ch-system-readline"> diff --git a/BOOK/chapter06/sed.xml b/BOOK/chapter06/sed.xml index 78a41e8..80e3108 100644 --- a/BOOK/chapter06/sed.xml +++ b/BOOK/chapter06/sed.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-sed" role="wrap"> <?dbhtml filename="sed.html"?> + <sect1info condition="script"> + <productname>sed</productname> + <productnumber>&sed-version;</productnumber> + </sect1info> + <title>Sed-&sed-version;</title> <indexterm zone="ch-system-sed"> diff --git a/BOOK/chapter06/shadow.xml b/BOOK/chapter06/shadow.xml index a1d5bcc..032df18 100644 --- a/BOOK/chapter06/shadow.xml +++ b/BOOK/chapter06/shadow.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-shadow" role="wrap"> <?dbhtml filename="shadow.html"?> + <sect1info condition="script"> + <productname>shadow</productname> + <productnumber>&shadow-version;</productnumber> + </sect1info> + <title>Shadow-&shadow-version;</title> <indexterm zone="ch-system-shadow"> diff --git a/BOOK/chapter06/sysklogd.xml b/BOOK/chapter06/sysklogd.xml index eda4cc0..67c033e 100644 --- a/BOOK/chapter06/sysklogd.xml +++ b/BOOK/chapter06/sysklogd.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-sysklogd" role="wrap"> <?dbhtml filename="sysklogd.html"?> + <sect1info condition="script"> + <productname>sysklogd</productname> + <productnumber>&sysklogd-version;</productnumber> + </sect1info> + <title>Sysklogd-&sysklogd-version;</title> <indexterm zone="ch-system-sysklogd"> diff --git a/BOOK/chapter06/sysvinit.xml b/BOOK/chapter06/sysvinit.xml index 732c5ab..9515a90 100644 --- a/BOOK/chapter06/sysvinit.xml +++ b/BOOK/chapter06/sysvinit.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-sysvinit" role="wrap"> <?dbhtml filename="sysvinit.html"?> + <sect1info condition="script"> + <productname>sysvinit</productname> + <productnumber>&sysvinit-version;</productnumber> + </sect1info> + <title>Sysvinit-&sysvinit-version;</title> <indexterm zone="ch-system-sysvinit"> diff --git a/BOOK/chapter06/tar.xml b/BOOK/chapter06/tar.xml index 4d1d307..9e90841 100644 --- a/BOOK/chapter06/tar.xml +++ b/BOOK/chapter06/tar.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-tar" role="wrap"> <?dbhtml filename="tar.html"?> + <sect1info condition="script"> + <productname>tar</productname> + <productnumber>&tar-version;</productnumber> + </sect1info> + <title>Tar-&tar-version;</title> <indexterm zone="ch-system-tar"> diff --git a/BOOK/chapter06/texinfo.xml b/BOOK/chapter06/texinfo.xml index 175100a..10aa308 100644 --- a/BOOK/chapter06/texinfo.xml +++ b/BOOK/chapter06/texinfo.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-texinfo" role="wrap"> <?dbhtml filename="texinfo.html"?> + <sect1info condition="script"> + <productname>texinfo</productname> + <productnumber>&texinfo-version;</productnumber> + </sect1info> + <title>Texinfo-&texinfo-version;</title> <indexterm zone="ch-system-texinfo"> diff --git a/BOOK/chapter06/udev.xml b/BOOK/chapter06/udev.xml index f838f4b..6cfbee5 100644 --- a/BOOK/chapter06/udev.xml +++ b/BOOK/chapter06/udev.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-udev" role="wrap"> <?dbhtml filename="udev.html"?> + <sect1info condition="script"> + <productname>udev</productname> + <productnumber>&udev-version;</productnumber> + </sect1info> + <title>Udev-&udev-version;</title> <indexterm zone="ch-system-udev"> diff --git a/BOOK/chapter06/util-linux.xml b/BOOK/chapter06/util-linux.xml index 8b49268..87565df 100644 --- a/BOOK/chapter06/util-linux.xml +++ b/BOOK/chapter06/util-linux.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-util-linux" role="wrap"> <?dbhtml filename="util-linux.html"?> + <sect1info condition="script"> + <productname>util-linux</productname> + <productnumber>&util-linux-version;</productnumber> + </sect1info> + <title>Util-linux-&util-linux-version;</title> <indexterm zone="ch-system-util-linux"> diff --git a/BOOK/chapter06/vim.xml b/BOOK/chapter06/vim.xml index 261ee09..84aca7e 100644 --- a/BOOK/chapter06/vim.xml +++ b/BOOK/chapter06/vim.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-vim" role="wrap"> <?dbhtml filename="vim.html"?> + <sect1info condition="script"> + <productname>vim</productname> + <productnumber>&vim-version;</productnumber> + </sect1info> + <title>Vim-&vim-version;</title> <indexterm zone="ch-system-vim"> diff --git a/BOOK/chapter06/zlib.xml b/BOOK/chapter06/zlib.xml index 7c714a7..0c86ea9 100644 --- a/BOOK/chapter06/zlib.xml +++ b/BOOK/chapter06/zlib.xml @@ -8,6 +8,11 @@ <sect1 id="ch-system-zlib" role="wrap"> <?dbhtml filename="zlib.html"?> + <sect1info condition="script"> + <productname>zlib</productname> + <productnumber>&zlib-version;</productnumber> + </sect1info> + <title>Zlib-&zlib-version;</title> <indexterm zone="ch-system-zlib"> diff --git a/BOOK/chapter08/kernel.xml b/BOOK/chapter08/kernel.xml index 1ba8dfc..0de9af8 100644 --- a/BOOK/chapter08/kernel.xml +++ b/BOOK/chapter08/kernel.xml @@ -8,6 +8,11 @@ <sect1 id="ch-bootable-kernel" role="wrap"> <?dbhtml filename="kernel.html"?> + <sect1info condition="script"> + <productname>linux</productname> + <productnumber>&linux-version;</productnumber> + </sect1info> + <title>Linux-&linux-version;</title> <indexterm zone="ch-bootable-kernel"> diff --git a/BOOK/stylesheets/dump-commands.xsl b/BOOK/stylesheets/dump-commands.xsl index 9e2af96..9d2dfb5 100644 --- a/BOOK/stylesheets/dump-commands.xsl +++ b/BOOK/stylesheets/dump-commands.xsl @@ -43,10 +43,32 @@ </xsl:variable> <!-- Creating dirs and files --> <exsl:document href="{$dirname}/{$order}-{$filename}" method="text"> + <xsl:apply-templates select="sect1info"/> <xsl:apply-templates select=".//screen"/> </exsl:document> </xsl:template> + <xsl:template match="sect1info"> + <xsl:if test="@condition = 'script'"> + <xsl:if test="productname"> + <xsl:text># Build script for </xsl:text> + <xsl:value-of select="productname"/> + <xsl:value-of select="$newline"/> + <xsl:text>package=</xsl:text> + <xsl:value-of select="productname"/> + <xsl:value-of select="$newline"/> + </xsl:if> + <xsl:if test="productnumber"> + <xsl:text>version=</xsl:text> + <xsl:value-of select="productnumber"/> + <xsl:value-of select="$newline"/> + </xsl:if> + <xsl:if test="productname|productnumber"> + <xsl:value-of select="$newline"/> + </xsl:if> + </xsl:if> + </xsl:template> + <xsl:template match="screen"> <xsl:if test="child::* = userinput"> <xsl:choose> -- 1.5.1.6 -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
