cppannotations/bin/zipyo
2008-03-21 12:33:42 +00:00

18 lines
342 B
Bash
Executable file

#!/bin/sh
cd `dirname $0`
CPPDIR=`cd ..;pwd`
CPP=`basename $CPPDIR`
cd `dirname $CPPDIR`
cp $CPP/single/legal.shtml $CPP/yo
rm -f $CPP/zip/cplusplus.yo.zip
zip -ry $CPP/zip/cplusplus.yo.zip $CPP/changelog $CPP/yo/* -x *.svn*
ln -sf ../contrib $CPP/yo
zip -r $CPP/zip/cplusplus.yo.zip $CPP/yo/contrib -x *.svn*
rm $CPP/yo/contrib
# end