#! /bin/sh
#
# Author      : Olivier.Sirol@lip6.fr
# Date        : dec 1998
# Description : creates alliance's tree
# Usage       : mklinks "toto" ($* arg is $ALLIANCE_OS eg "Linux")
#               you have to run this script from the source dir
#
# (C) Czo 1998,99
# This code is released under GPL
# $Id: mklinks,v 1.4 1999/09/23 13:27:03 czo Exp $
#

#set -v
#set -x
#we are either in "sources" or "sce-$WKS"
STARTDIR=`pwd`

cd ..

for WKS in $*
do

 mkdir -p "archi/$WKS/bin"
 mkdir -p "archi/$WKS/include"
 mkdir -p "archi/$WKS/lib"
 
 cd "archi/$WKS"
 for MYDIR in cells doc etc man tutorials
 do
  ln -s "../../share/$MYDIR" .
 done
 cd ../..

done

cd "$STARTDIR"
 
