new updating of protos in krb5, and hdb
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5771 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
17
fix-export
17
fix-export
@@ -5,12 +5,10 @@ echo "fixing distribution in $1..."
|
|||||||
cd $1
|
cd $1
|
||||||
|
|
||||||
ver=`sed -n 's/AM_INIT_AUTOMAKE(.*,\(.*\))/\1/p' configure.in`
|
ver=`sed -n 's/AM_INIT_AUTOMAKE(.*,\(.*\))/\1/p' configure.in`
|
||||||
echo "*************************************************************"
|
M="* This is version $ver. *"
|
||||||
echo "* *"
|
echo $M | sed -e 's/./*/'
|
||||||
echo "* Hej $USER! *"
|
echo $M
|
||||||
echo "* Har du uppdaterat versionsnummret? Detta <20>r version $ver. *"
|
echo $M | sed -e 's/./*/'
|
||||||
echo "* *"
|
|
||||||
echo "*************************************************************"
|
|
||||||
|
|
||||||
ed -s configure.in << END
|
ed -s configure.in << END
|
||||||
/test -z/s,^,#,
|
/test -z/s,^,#,
|
||||||
@@ -22,10 +20,11 @@ autoconf
|
|||||||
autoheader
|
autoheader
|
||||||
automake
|
automake
|
||||||
(cd doc; makeinfo heimdal.texi)
|
(cd doc; makeinfo heimdal.texi)
|
||||||
(cd lib/krb5; perl ../../cf/make-proto.pl `perl -e '
|
for i in krb5 hdb; do (cd lib/$i; perl ../../cf/make-proto.pl \
|
||||||
|
-o $i-protos.h -p $i-private.h `perl -e '
|
||||||
do {
|
do {
|
||||||
$_ = <>;
|
$_ = <>;
|
||||||
} until(/libkrb5_la_SOURCES/);
|
} until(/lib'$i'_la_SOURCES/);
|
||||||
while(/\\\\\s*$/s){
|
while(/\\\\\s*$/s){
|
||||||
$_ = $_ . <>;
|
$_ = $_ . <>;
|
||||||
}
|
}
|
||||||
@@ -33,6 +32,6 @@ automake
|
|||||||
s/\\\\//g;
|
s/\\\\//g;
|
||||||
s/.*=//;
|
s/.*=//;
|
||||||
s/\s+/ /g;
|
s/\s+/ /g;
|
||||||
print;' Makefile.in` > krb5-protos.h)
|
print;' Makefile.in`)
|
||||||
rm fix-export make-release make-release.el
|
rm fix-export make-release make-release.el
|
||||||
find . -name .cvsignore -print | xargs rm
|
find . -name .cvsignore -print | xargs rm
|
||||||
|
Reference in New Issue
Block a user