Files
heimdal/fix-export
Johan Danielsson 594052aa6f remove -g CFLAGS from distributions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5475 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-05 13:15:26 +00:00

40 lines
975 B
Bash
Executable File

#! /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 "*************************************************************"
ed configure.in << END
/test -z
s,^,#,
w
q
END
aclocal -I cf
autoconf
autoheader
automake
(cd doc; makeinfo heimdal.texi)
(cd lib/krb5; perl ../../cf/make-proto.pl `perl -e '
do {
$_ = <>;
} until(/libkrb5_la_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