cleanup of foam-pack scripts

- removed legacy foamDiffSourceList, foamPackChanged
  - added foamPackDoxygen for separate distribution of docs
    handles -prefix option
  - misc. cosmetic changes
This commit is contained in:
Mark Olesen
2008-07-20 15:53:43 +02:00
parent 0473f177ad
commit 4d96b876e4
15 changed files with 161 additions and 280 deletions

View File

@ -33,7 +33,8 @@
#------------------------------------------------------------------------------
tmpFile=${TMPDIR:-/tmp}/foamPackFiles.$$
if [ $# -ne 2 ]; then
if [ $# -ne 2 ]
then
echo "Usage : ${0##*/} directory tarFile"
echo ""
echo "Packs all .C and .H files and Make/options and Make/files into"
@ -46,12 +47,14 @@ fi
packDir=$(echo "$1" | sed -e 's@//*@/@g' -e 's@/$@@')
packFile=$2
if [ ! -d $packDir ]; then
if [ ! -d $packDir ]
then
echo "Error: directory $packDir does not exist"
exit 1
fi
if [ -f $packFile ]; then
if [ -f $packFile ]
then
echo "Error: $packFile already exists"
exit 1
fi