This commit was manufactured by cvs2svn to create tag

'debian_version_2_14-8'.

git-svn-id: file:///srv/svn/joey/bsdgames-tags/debian_version_2_14-8@5231 a4a2c43b-8ac3-0310-8836-e0e880c912e2
This commit is contained in:
unknown
2003-12-09 18:41:53 +00:00
parent ec93f45476
commit 4c4a7ab9ef
98 changed files with 1511 additions and 95189 deletions

View File

@@ -1,4 +1,30 @@
# install-man.in - install a manpage
# install-man.in - install a manpage.
#
# Copyright (c) 1997, 1998 Joseph Samuel Myers.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# 3. The name of the author may not be used to endorse or promote products
# derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
set -e
@@ -42,7 +68,7 @@ elif [ $# = 2 ]; then
echo ".so man$section1/$page1" >"$mandir/$page2"
chmod @manpage_perms@ "$mandir/$page2"
if [ @do_chown@ = y ]; then
chown @manpage_owner@.@manpage_group@ "$mandir/$page2"
chown @manpage_owner@:@manpage_group@ "$mandir/$page2"
fi
if [ @gzip_manpages@ = y ]; then
rm -f "$mandir/$page2.gz"
@@ -55,9 +81,9 @@ elif [ $# = 2 ]; then
linkto="../man$section1/$page1"
fi
if [ @gzip_manpages@ = y ]; then
ln -s "$linkto.gz" "$mandir/$page2.gz"
ln -sf "$linkto.gz" "$mandir/$page2.gz"
else
ln -s "$linkto" "$mandir/$page2"
ln -sf "$linkto" "$mandir/$page2"
fi
fi
else