Changeset 0fe3bb0


Ignore:
Timestamp:
06/21/2023 06:35:58 AM (12 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.0, 12.0-rc1, 12.1, 12.1-rc1, multilib, renodr/libudev-from-systemd, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/update-glibc
Children:
0eb03e9d, 4e2fc61, 7b7733d, ce9ec4f
Parents:
89375e2
Message:

Create man page symlinks for awk, cc, pkg-config, and lex

Location:
chapter08
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • chapter08/flex.xml

    r89375e2 r0fe3bb0  
    7474    programs, create a symbolic link named <filename>lex</filename> that
    7575    runs <filename>flex</filename> in <command>lex</command> emulation
    76     mode:</para>
     76    mode, and also create the man page of <command>lex</command> as a
     77    symlink:</para>
    7778
    78 <screen><userinput remap="install">ln -sv flex /usr/bin/lex</userinput></screen>
     79<screen><userinput remap="install">ln -sv flex   /usr/bin/lex
     80ln -sv flex.1 /usr/share/man/man1/lex.1</userinput></screen>
    7981
    8082  </sect2>
  • chapter08/gawk.xml

    r89375e2 r0fe3bb0  
    6161
    6262<screen><userinput remap="install">make LN='ln -f' install</userinput></screen>
     63
     64    <para>The installation process already created <command>awk</command>
     65    as a symlink to <command>gawk</command>, create its man page as a
     66    symlink as well:</para>
     67
     68<screen><userinput remap="install">ln -sv gawk.1 /usr/share/man/man1/awk.1</userinput></screen>
    6369
    6470    <variablelist>
  • chapter08/gcc.xml

    r89375e2 r0fe3bb0  
    216216
    217217<screen><userinput remap="install">ln -svr /usr/bin/cpp /usr/lib</userinput></screen>
    218   <!-- already done earlier
     218
    219219    <para>Many packages use the name <command>cc</command> to call the C
    220     compiler. To satisfy those packages, create a symlink:</para>
    221 
    222 <screen><userinput remap="install">ln -sv gcc /usr/bin/cc</userinput></screen>
    223   -->
     220    compiler.  We've already created <command>cc</command> as a symlink in
     221    <xref linkend='ch-tools-gcc-pass2'/>, create its man page as a symlink
     222    as well:</para>
     223
     224<screen><userinput remap="install">ln -sv gcc.1 /usr/share/man/man1/cc.1</userinput></screen>
     225
    224226    <para>Add a compatibility symlink to enable building programs with
    225227    Link Time Optimization (LTO):</para>
  • chapter08/pkgconf.xml

    r89375e2 r0fe3bb0  
    5858<screen><userinput remap="install">make install</userinput></screen>
    5959
    60     <para>To maintain compatibility with the original Pkg-config create a
    61     symlink:</para>
     60    <para>To maintain compatibility with the original Pkg-config create two
     61    symlinks:</para>
    6262
    63 <screen><userinput remap="install">ln -sfv pkgconf /usr/bin/pkg-config</userinput></screen>
     63<screen><userinput remap="install">ln -sv pkgconf   /usr/bin/pkg-config
     64ln -sv pkgconf.1 /usr/share/man/man1/pkg-config.1</userinput></screen>
    6465
    6566  </sect2>
Note: See TracChangeset for help on using the changeset viewer.