3 echo "fixing distribution in $1..."
7 ver
=`sed -n 's/AM_INIT_AUTOMAKE(.*,\(.*\))/\1/p' configure.in`
8 M
="* This is version $ver. *"
9 echo "$M" |
sed -e 's/./*/g'
11 echo "$M" |
sed -e 's/./*/g'
13 ed
-s configure.
in << END
19 for i
in include
/config.h.
in lib
/roken
/config.h.
in; do
20 echo '/*autoheader*/' > $i
22 autoreconf
--force --install
23 automake lib
/roken
/Makefile
## stupid automake gets this wrong
24 (cd doc
; makeinfo heimdal.texi
)
26 find .
-name Makefile.am |
while read f
; do
27 for i
in `sed -n -e '/^man_MANS/{
33 :quit' $f | sed 's/man_MANS//;s/=//;s/[ \\][ \\]*/ /g'`; do
35 y
=`dirname $f`/`echo $i | sed 's/[0-9]$/cat&/'`
36 echo `grog -Tascii $x` \
> $y
37 `grog -Tascii $x` > $y
45 perl
$top/cf
/make-proto.pl
-o $2 -p $3 `perl -e '
48 } until(/'$b'_.*SOURCES/);
59 make_proto lib
/krb5 krb5-protos.h krb5-private.h
60 make_proto lib
/hdb hdb-protos.h hdb-private.h
61 make_proto appl
/login login_protos.h
/dev
/null
63 rm fix-export make-release make-release.el
64 find .
-name .cvsignore
-print |
xargs rm