fix the sed expression for finding the man pages

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10425 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2001-08-04 03:01:24 +00:00
parent 48cee93ffa
commit 5403de8ef8

View File

@@ -1,4 +1,5 @@
#! /bin/sh
# $Id$
echo "fixing distribution in $1..."
@@ -21,14 +22,15 @@ for i in include/config.h.in lib/roken/config.h.in; do
done
autoreconf --force --install
automake lib/roken/Makefile ## stupid automake gets this wrong
(cd doc; makeinfo heimdal.texi)
(cd doc && makeinfo heimdal.texi)
find . -name Makefile.am | while read f; do
for i in `sed -n -e '/^man_MANS/{
:loop
p
/[^\\]$/tquit
tloop
/[^\\]$/b quit
n
b loop
}
:quit' $f | sed 's/man_MANS//;s/=//;s/[ \\][ \\]*/ /g'`; do
x=`dirname $f`/$i