mirror of
https://gitlab.com/fbb-git/cppannotations
synced 2024-11-16 07:48:44 +01:00
43024870ae
git-svn-id: https://cppannotations.svn.sourceforge.net/svnroot/cppannotations/trunk@145 f6dd340e-d3f9-0310-b409-bdd246841980
42 lines
1.2 KiB
Bash
Executable file
42 lines
1.2 KiB
Bash
Executable file
#!/bin/sh
|
|
|
|
cd `dirname $0`
|
|
CPPDIR=`cd ..;pwd`
|
|
CPP=`basename $CPPDIR`
|
|
cd `dirname $CPPDIR`
|
|
|
|
cp $CPP/single/legal.shtml $CPP/latex
|
|
ln -sf ../contrib $CPP/latex
|
|
|
|
rm -f $CPP/zip/cplusplus.ps.zip $CPP/zip/cplusplus.pdf.zip \
|
|
$CPP/zip/cplusplus.latex.zip
|
|
|
|
if [ -s $CPP/latex/cplusplus.ps ] ; then
|
|
zip -m $CPP/zip/cplusplus.ps.zip $CPP/latex/*.ps
|
|
zip -r $CPP/zip/cplusplus.ps.zip $CPP/latex/legal.shtml \
|
|
$CPP/changelog \
|
|
$CPP/latex/contrib \
|
|
$CPP/README -x *.svn*
|
|
fi
|
|
|
|
if [ -s $CPP/latex/cplusplus.pdf ] ; then
|
|
zip -m $CPP/zip/cplusplus.pdf.zip $CPP/latex/*.pdf
|
|
zip -r $CPP/zip/cplusplus.pdf.zip $CPP/latex/legal.shtml \
|
|
$CPP/changelog \
|
|
$CPP/latex/contrib \
|
|
$CPP/README -x *.svn*
|
|
fi
|
|
|
|
zip -ry $CPP/zip/cplusplus.latex.zip $CPP/latex/* \
|
|
$CPP/changelog \
|
|
$CPP/README -x *.svn*
|
|
zip -r $CPP/zip/cplusplus.latex.zip $CPP/latex/contrib -x *.svn*
|
|
|
|
rm $CPP/latex/contrib
|
|
|
|
# end
|
|
|
|
|
|
|
|
|
|
|