summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2010-07-16 09:58:26 +0200
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2010-07-16 09:58:26 +0200
commit4ed874500c66aeb60cb11a0acc081dbc113eec51 (patch)
tree425587d32b7a7e005c37c9c2c941936c0c65c0d6 /release
parent0f6f7b770b84bd02d8c94c84ed9da78bc11ba8ca (diff)
downloadlibrcc-4ed874500c66aeb60cb11a0acc081dbc113eec51.tar.gz
librcc-4ed874500c66aeb60cb11a0acc081dbc113eec51.tar.bz2
librcc-4ed874500c66aeb60cb11a0acc081dbc113eec51.tar.xz
librcc-4ed874500c66aeb60cb11a0acc081dbc113eec51.zip
Windows fixes and CMake scripts to build under Windows
Diffstat (limited to 'release')
-rwxr-xr-xrelease9
1 files changed, 7 insertions, 2 deletions
diff --git a/release b/release
index 6318745..74c9759 100755
--- a/release
+++ b/release
@@ -38,6 +38,9 @@ cp -a * $RDIR/$rname
./configure
make clean distclean distclean-am -C examples
make clean distclean distclean-am
+ find . -name CMakeFiles -print0 | xargs -0 rm -rf
+ find . -name CMakeCache.txt -print0 | xargs -0 rm -rf
+ find . -name cmake_install.cmake -print0 | xargs -0 rm -rf
rm -rf autom4te*.cache
rm -rf "{arch}"
rm -rf `find . -name .arch-ids`
@@ -51,6 +54,8 @@ cp -a * $RDIR/$rname
tar cjf $rname.tar.bz2 $rname
rm -rf $rname
- scp $rname.tar.bz2 csa@dside.dyndns.org:/home/csa/public_html/files/rusxmms/
- ssh csa@dside.dyndns.org ln -sf $rname.tar.bz2 /home/csa/public_html/files/rusxmms/$NAME-latest.tar.bz2
+ if [ ! "$cvs" == "cvs" ]; then
+ scp $rname.tar.bz2 csa@dside.dyndns.org:/home/csa/public_html/files/rusxmms/
+ ssh csa@dside.dyndns.org ln -sf $rname.tar.bz2 /home/csa/public_html/files/rusxmms/$NAME-latest.tar.bz2
+ fi
)