File mttroot/mtt/bin/trans/mtt_make_subsystems artifact 9acb3856cd part of check-in fc177d09e6


#!/bin/sh

# Makes subsystems for partitioning
# Copyright (C) 2000 by Peter J. Gawthrop

sys=$1
rep=$2
lang=$3

echo Creating subsystem representations for ${sys}_${rep}.${lang}
# Get subsystems
  subsystems=`mtt_get_subsystems -strip ${sys}`;

for subsystem in $subsystems; do
    
mtt $options -u -q -sub $subsystem ${sys} ${rep} ${lang}
    ## Repeating systems need sorting out !!!!
    #cp $1_$subsystem"_"$2.$3 $1_$subsystem"_1_"$2.$3
done


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]