fixed compilation of proto files with all versions (always recreated)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6100 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2013-01-30 17:45:33 +00:00
parent b1ffc14954
commit 02aa54152d
3 changed files with 13 additions and 4 deletions

View file

@ -2,13 +2,12 @@
###################### PARAMETERS ####################
version="0.5.4"
svnpath="svn://csoler@svn.code.sf.net/p/retroshare/code/"
workdir=retroshare-$version
######################################################
echo This script is going to build the debian source package for RetroShare, from the svn.
svnpath="svn://csoler@svn.code.sf.net/p/retroshare/code/"
workdir=retroshare-$version
if test -d "$workdir" ; then
echo Please remove the $workdir directory first.
exit
@ -56,6 +55,12 @@ cd $workdir
tar zxvf ../libssh-0.5.2.tar.gz
cd ..
# cleaning up protobof generated files
\rm -f $workdir/src/rsctrl/src/gencc/*.pb.h
\rm -f $workdir/src/rsctrl/src/gencc/*.pb.cpp
\rm -f $workdir/src/retroshare-nogui/src/rpc/proto/gencc/*.pb.h
\rm -f $workdir/src/retroshare-nogui/src/rpc/proto/gencc/*.pb.cc
echo Setting version numbers...
# setup version numbers