1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 07:39:42 +02:00

remove some steps in the tarball process which are no longer needed, as the directories are no longer there, and there are no executable source files in SVN (cleaning them up is easy, compared to CVS

This commit is contained in:
richardash1981 2012-03-16 20:55:57 +00:00
parent 4aaed7d285
commit cce55d1697

View File

@ -3,7 +3,7 @@
# Copyright 2003, 2004, 2005 Dominic Mazzoni and Matt Brubeck
# Distributed under the GNU General Public License 2.0.
# See the file LICENSE.txt for details.
# Re-written in Bash by Richard Ash 2006
# Re-written in Bash by Richard Ash 2006 - 2012
function myrmrvf {
# a replacement for rm -rvf that has it's output controlled
@ -105,16 +105,6 @@ function cleanfulltree {
myfindrm $1 aclocal.m4
printf "Done\n"
printf "removing executable bit from source files... ";
if [ $1 -eq 1 ]; then
find . -name '*.cpp' -executable -execdir chmod ugo-x '{}' ';' -print
find . -name '*.h' -executable -execdir chmod ugo-x '{}' ';' -print
else
find . -name '*.cpp' -executable -execdir chmod ugo-x '{}' ';'
find . -name '*.h' -executable -execdir chmod ugo-x '{}' ';'
fi
printf "Done\n"
printf "removing orphaned symlinks in lib-src/ ... ";
myrmvf $1 lib-src/*.a
printf "Done\n"
@ -125,8 +115,8 @@ function cleanfulltree {
printf "removing unused libraries from SVN tree ..."
myrmrvf $1 lib-src/iAVC lib-src/id3lib ;
myrmrvf $1 lib-src/portaudio lib-src/portburn lib-src/rtaudio;
myrmrvf $1 lib-src/wave++ lib-src/taglib;
myrmrvf $1 lib-src/portburn lib-src/rtaudio;
myrmrvf $1 lib-src/taglib;
printf "Done\n"
}