cppannotations/annotations/bin/ziptxt
Frank B. Brokken 777b182edd Moved all files but 'excluded', 'sf', and 'sourcetar' to ./annotations
This allowed me to standardize the sourcetar and sf/* scripts: the base
    directory (containing ./git) is now empty, except for maintenance scripts,
    while the source files and build scripts of the annotations are stored in
    a subdirectory of their own.
2013-05-29 20:44:08 +02:00

17 lines
453 B
Bash
Executable file

#!/bin/sh
cd `dirname $0`
CPPDIR=`cd ..;pwd`
CPP=`basename $CPPDIR`
cd `dirname $CPPDIR`
cp $CPP/single/legal.shtml $CPP/zip
if [ -s $CPP/zip/cplusplus.txt ] ; then
rm -f $CPP/zip/cplusplus.txt.zip
zip -m $CPP/zip/cplusplus.txt.zip $CPP/zip/cplusplus.txt\
$CPP/zip/legal.shtml
zip $CPP/zip/cplusplus.txt.zip $CPP/changelog
zip -r $CPP/zip/cplusplus.txt.zip $CPP/contrib -x *.svn*
fi