update prototypes from util.c
[heimdal.git] / fix-export
blobc7952571011ad3090e4b115f727fe59522f71e4c
1 #! /bin/sh
3 echo "fixing distribution in $1..."
5 cd $1
7 ver=`sed -n 's/AM_INIT_AUTOMAKE(.*,\(.*\))/\1/p' configure.in`
8 echo "*************************************************************"
9 echo "* *"
10 echo "* Hej $USER! *"
11 echo "* Har du uppdaterat versionsnummret? Detta är version $ver. *"
12 echo "* *"
13 echo "*************************************************************"
15 aclocal
16 autoconf
17 autoheader
18 automake
19 (cd doc; makeinfo heimdal.texi)
20 (cd lib/krb5; perl ../../aux/make-proto.pl `perl -e '
21 do {
22 $_ = <>;
23 } until(/libkrb5_a_SOURCES/);
24 while(/\\\\\s*$/s){
25 $_ = $_ . <>;
27 s/\n//g;
28 s/\\\\//g;
29 s/.*=//;
30 s/\s+/ /g;
31 print;' Makefile.in` > krb5-protos.h)
32 rm fix-export make-release make-release.el
33 find . -name .cvsignore -print | xargs rm