forked from Mirrors/freeswitch
freetdm: fixes to mkrelease.sh
This commit is contained in:
parent
75ba53cfb2
commit
acd6d4442b
@ -125,6 +125,12 @@ echo "Creating $release ($major.$minor.$micro) at $INSTALLPREFIX/$release (direc
|
||||
|
||||
mkdir -p $INSTALLPREFIX/$release $INSTALLPREFIX/bin-releases/$major/$release
|
||||
|
||||
cp -r ./* $INSTALLPREFIX/bin-releases/$major/$release
|
||||
cp -r ./.libs $INSTALLPREFIX/bin-releases/$major/$release
|
||||
|
||||
make clean
|
||||
make mod_freetdm-clean
|
||||
|
||||
cp -r ./* $INSTALLPREFIX/$release
|
||||
|
||||
# copy ABI compatibility reports to release
|
||||
@ -132,20 +138,7 @@ if [ -d compat_reports ]; then
|
||||
mv ./compat_reports $INSTALLPREFIX/$release
|
||||
fi
|
||||
|
||||
cp -r ./* $INSTALLPREFIX/bin-releases/$major/$release
|
||||
cp -r ./.libs $INSTALLPREFIX/bin-releases/$major/$release
|
||||
|
||||
find $INSTALLPREFIX/$release -name .libs -exec rm -rf {} \;
|
||||
find $INSTALLPREFIX/$release -name .deps -exec rm -rf {} \;
|
||||
find $INSTALLPREFIX/$release -name *.so -exec rm -rf {} \;
|
||||
find $INSTALLPREFIX/$release -name *.lo -exec rm -rf {} \;
|
||||
rm -rf $INSTALLPREFIX/$release/{$LIBSNG_ISDN_DIR,$LIBSNG_SS7_DIR,*.tgz}
|
||||
rm -rf $INSTALLPREFIX/bin-releases/$major/$release/{$LIBSNG_ISDN_DIR,$LIBSNG_SS7_DIR,*.tgz}
|
||||
|
||||
# clean the source tree
|
||||
make clean
|
||||
make mod_freetdm-clean
|
||||
|
||||
tar -C $INSTALLPREFIX -czf $INSTALLPREFIX/$release.tar.gz $release/
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user