mirror of
https://gitlab.com/fbb-git/cppannotations
synced 2024-11-16 07:48:44 +01:00
777b182edd
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.
17 lines
453 B
Bash
Executable file
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
|