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.
18 lines
348 B
Bash
Executable file
18 lines
348 B
Bash
Executable file
#!/bin/sh
|
|
|
|
cd `dirname $0`
|
|
CPPDIR=`cd ..;pwd`
|
|
CPP=`basename $CPPDIR`
|
|
cd `dirname $CPPDIR`
|
|
|
|
cp $CPP/single/* $CPP/html
|
|
|
|
rm -f $CPP/zip/cplusplus.html.zip
|
|
zip -ry $CPP/zip/cplusplus.html.zip $CPP/html/* $CPP/changelog -x *.svn*
|
|
|
|
ln -sf ../contrib $CPP/html
|
|
zip -r $CPP/zip/cplusplus.html.zip $CPP/html/contrib -x *.svn*
|
|
rm $CPP/html/contrib
|
|
|
|
# end
|
|
|