10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
+
+
+
|
# Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996, 1997,1998,1999
###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
## Revision 1.216 1999/11/16 05:53:21 peterg
## Added sensitivity (-s) switch
##
## Revision 1.215 1999/11/15 22:45:31 peterg
## Reorganised integration method using -i switch
## Introduced -r (reset) switch
##
## Revision 1.214 1999/11/14 21:27:11 peterg
## *** empty log message ***
##
|
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
|
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
|
-
+
|
fi
destination=$4
if [ -z "$destination" ]; then
destination='.'
fi
# check that its not here already
file_exists=`ls $destination/"$name"_lbl.txt 2> /dev/null`
file_exists=`ls $destination/"$name"_abg.txt 2> /dev/null`
if [ -n "$file_exists" ]; then
if [ "$quiet" != "quiet" ]; then
echo Component $name exists already - no action taken
fi
else
if [ $source = "." ]; then
cp -u *_*.* $destination
|
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
|
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
|
-
+
-
-
+
+
-
+
+
+
-
-
-
|
# Cancel implicit rules I don't want
%.dvi: %.tex
ifeq ("$sensitivity","sensitivity")
ifeq ("$level","0")
$1_abg.fig: $sys_abg.fig
abg2sensitivity_fig $sys
else
else # Either find the sensitivity model or fetch the model and create sensitivity model
# If level>0, try and get subsystem files
$1_abg.fig:
mtt -q -u $mtt_switches compcopy $1 || abg2sensitivity_fig $sys|| exit 1
mtt -q -u $mtt_switches compcopy $1 || abg2sensitivity_fig $sys
endif
endif
else
ifneq ("$sensitivity","sensitivity")
ifneq ("$level","0")
# If level>0, try and get subsystem files; creating if necessary
$1_abg.fig:
mtt -q -u $mtt_switches compcopy $1
endif
endif
# Create an arg file if it doesn't exist
$1_args.m:
touch $1_args.m
#Create skeleton files (with titles) if not already there
#SUMMARY lbl* label file (txt)
|