PSI sics-cvs-psi-complete-tree-post-site-support

This commit is contained in:
2004-03-09 15:18:11 +00:00
committed by Douglas Clowes
parent 6373f6b0fb
commit ae77364de2
196 changed files with 8344 additions and 3485 deletions

38
maketree Executable file
View File

@@ -0,0 +1,38 @@
#!/bin/tcsh
# create the version specific object tree
#
# M.Zolliker 08.2003
#
if ("$SICS_VERSION" == "") then
echo SICS_VERSION undefined
else
if (${0:h} != $0) then
cd ${0:h}
endif
set SICS_ROOT=$PWD
# determine object directory
set o="$SICS_ROOT/obj/$SICS_VERSION/$1"
# determine makefile
set m="$SICS_ROOT/$1/makefile_$SICS_VERSION"
if (-e $m) then
if (! -e $o) then
echo create directory $o
mkdir -p $o
else
echo $o exists
endif
rm -f $o/src
echo ln -s $SICS_ROOT/$1 $o/src
ln -s $SICS_ROOT/$1 $o/src
ln -s $o $SICS_ROOT/$1/$SICS_VERSION
rm -f $o/cd_obj
echo "cd $SICS_ROOT/$1" > $o/cd_obj
endif
endif