Match man_MANS = files with directories in them.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22779 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -13,8 +13,9 @@ suffix="$1"; shift
|
|||||||
catinstall="${INSTALL_CATPAGES-yes}"
|
catinstall="${INSTALL_CATPAGES-yes}"
|
||||||
|
|
||||||
for f in "$@"; do
|
for f in "$@"; do
|
||||||
base=`echo "$f" | sed 's/\(.*\)\.\([^.]*\)$/\1/'`
|
echo $f
|
||||||
section=`echo "$f" | sed 's/\(.*\)\.\([^.]*\)$/\2/'`
|
base=`echo "$f" | sed 's/\([^/]*\/\)*\(.*\)\.\([^.]*\)$/\2/'`
|
||||||
|
section=`echo "$f" | sed 's/\([^/]*\/\)*\(.*\)\.\([^.]*\)$/\3/'`
|
||||||
mandir="$manbase/man$section"
|
mandir="$manbase/man$section"
|
||||||
catdir="$manbase/cat$section"
|
catdir="$manbase/cat$section"
|
||||||
c="$base.cat$section"
|
c="$base.cat$section"
|
||||||
|
Reference in New Issue
Block a user