man - Format and display manual pages ChangeLog

HOWTO


# man 1.6f
# ========
# Slackware 12.0's 'man' package includes version 1.6c, 12.1's includes
# 1.6f

# Prerequisites:
# groff
# less
# diffutils
# gzip
# bzip2

cd
test -f installed/man-1.6f.tar.gz && mv installed/man-1.6f.tar.gz .
test ! -f man-1.6f.tar.gz &&
wget http://primates.ximian.com/~flucifredi/man/man-1.6f.tar.gz

# Verify tarball w/ md5sum:
echo "67aaaa6df35215e812fd7d89472c44b6  man-1.6f.tar.gz" | md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "man-?.*" -exec rm -r {} \;
tar xzvf ~/man-1.6f.tar.gz
cd man-1.6f
test $UID = 0 && chown -R root:root .
./configure -default
make

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg man
rm -f /usr/lib/man.conf
make install
chown -R $USER .

# In Slackware, /usr/share/man is a symlink to /usr/man
#
# This next part will make /usr/local/share/man a symlink to
# /usr/local/man.  If the same man page is in both places, the
# newer one will overwrite the old one.
#
# (You can also just add /usr/local/share/man to MANPATH)
test ! -L /usr/local/share/man &&
test -d /usr/local/share/man &&
  ( cd /usr/local/share/man
    for mandir in man?;
    do
      echo "/usr/local/share/man/${mandir} -> /usr/local/man/${mandir}"
      for manpage in ${mandir}/*.?;
      do
        full_ulsm="/usr/local/share/man/$manpage"
        full_ulm="/usr/local/man/$manpage"
        short_mp=$(basename $manpage)
        if [ -f "$full_ulsm" -a -f "$full_ulm" ]; then
          if [ "$full_ulsm" -nt "$full_ulm" ]; then
            mv -f "$full_ulsm" "$full_ulm"
          else
            mv -f "$full_ulm" "$full_ulsm"
          fi
        fi
      done
      rm -r "./${mandir}"
    done
    cd ../..
    rmdir /usr/local/share/man
    ln -sf /usr/local/man /usr/local/share/man )

# See man2html/README for info about setting up webified man pages

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/man-*.tar.*
mv man-1.6f.tar.gz installed/

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EDT -0400)
HOWTO last updated: 2008-06-18 5:46pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]