From 5403de8ef882564b07f878da5241e9c749d7e340 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sat, 4 Aug 2001 03:01:24 +0000 Subject: [PATCH] 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 --- fix-export | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/fix-export b/fix-export index 3711e6d25..08ef130e4 100755 --- a/fix-export +++ b/fix-export @@ -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