summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2010-07-16 09:45:04 +0200
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2010-07-16 09:45:04 +0200
commit3bdbb9874f73d024f43893626dbe61a32c9c799b (patch)
treecd873a12c94c08262e469c84eadad730ae96cab3 /release
parent3b5818e790a6149c0a3e7b49129852f7be33c306 (diff)
downloadlibrcd-3bdbb9874f73d024f43893626dbe61a32c9c799b.tar.gz
librcd-3bdbb9874f73d024f43893626dbe61a32c9c799b.tar.bz2
librcd-3bdbb9874f73d024f43893626dbe61a32c9c799b.tar.xz
librcd-3bdbb9874f73d024f43893626dbe61a32c9c799b.zip
CMake scripts to build under Windows
Diffstat (limited to 'release')
-rwxr-xr-xrelease8
1 files changed, 7 insertions, 1 deletions
diff --git a/release b/release
index 857bbce..475ba72 100755
--- a/release
+++ b/release
@@ -39,6 +39,9 @@ cp -a * $RDIR/$rname
make clean -C examples distclean distclean-am
make clean -C statgen distclean distclean-am
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`
@@ -52,5 +55,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/
+ 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
)