summaryrefslogtreecommitdiff
path: root/fix-export
blob: c7952571011ad3090e4b115f727fe59522f71e4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#! /bin/sh

echo "fixing distribution in $1..."

cd $1

ver=`sed -n 's/AM_INIT_AUTOMAKE(.*,\(.*\))/\1/p' configure.in`
echo "*************************************************************"
echo "*                                                           *"
echo "* Hej $USER!                                                *"
echo "* Har du uppdaterat versionsnummret? Detta �r version $ver. *"
echo "*                                                           *"
echo "*************************************************************"

aclocal
autoconf
autoheader
automake
(cd doc; makeinfo heimdal.texi)
(cd lib/krb5; perl ../../aux/make-proto.pl `perl -e '
	do { 
		$_ = <>; 
	} until(/libkrb5_a_SOURCES/); 
	while(/\\\\\s*$/s){ 
		$_ = $_ . <>;
	} 
	s/\n//g; 
	s/\\\\//g; 
	s/.*=//; 
	s/\s+/ /g; 
	print;' Makefile.in` > krb5-protos.h)
rm fix-export make-release make-release.el
find . -name .cvsignore -print | xargs rm