diff --git a/chapter08/flex.xml b/chapter08/flex.xml index d05474f03..478637adc 100644 --- a/chapter08/flex.xml +++ b/chapter08/flex.xml @@ -73,9 +73,11 @@ try to run its predecessor, lex. To support those programs, create a symbolic link named lex that runs flex in lex emulation - mode: + mode, and also create the man page of lex as a + symlink: -ln -sv flex /usr/bin/lex +ln -sv flex /usr/bin/lex +ln -sv flex.1 /usr/share/man/man1/lex.1 diff --git a/chapter08/gawk.xml b/chapter08/gawk.xml index 3e177948e..a6b74460b 100644 --- a/chapter08/gawk.xml +++ b/chapter08/gawk.xml @@ -61,6 +61,12 @@ su tester -c "PATH=$PATH make check" make LN='ln -f' install + The installation process already created awk + as a symlink to gawk, create its man page as a + symlink as well: + +ln -sv gawk.1 /usr/share/man/man1/awk.1 + The meaning of the overridden make variable: diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml index 27d77c6ec..d840cad11 100644 --- a/chapter08/gcc.xml +++ b/chapter08/gcc.xml @@ -235,12 +235,14 @@ su tester -c "PATH=$PATH make -k check" for "historical" reasons. ln -svr /usr/bin/cpp /usr/lib - + Many packages use the name cc to call the C + compiler. We've already created cc as a symlink in + , create its man page as a symlink + as well: + +ln -sv gcc.1 /usr/share/man/man1/cc.1 + Add a compatibility symlink to enable building programs with Link Time Optimization (LTO): diff --git a/chapter08/pkgconf.xml b/chapter08/pkgconf.xml index 73630f817..724a1ff24 100644 --- a/chapter08/pkgconf.xml +++ b/chapter08/pkgconf.xml @@ -57,10 +57,11 @@ make install - To maintain compatibility with the original Pkg-config create a - symlink: + To maintain compatibility with the original Pkg-config create two + symlinks: -ln -sfv pkgconf /usr/bin/pkg-config +ln -sv pkgconf /usr/bin/pkg-config +ln -sv pkgconf.1 /usr/share/man/man1/pkg-config.1