10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996.
###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
## Revision 1.103 1997/12/07 20:10:36 peterg
## Fixed bugs with reprots and distinguish between book, article and
## section reports.
##
## Revision 1.102 1997/12/07 12:14:43 peterg
## Hnadles book, article and section reports seperately
##
|
>
>
>
|
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.
###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
# Revision 1.104 1997/12/07 21:05:10 peterg
# Removed a debbugging echo
#
## Revision 1.103 1997/12/07 20:10:36 peterg
## Fixed bugs with reprots and distinguish between book, article and
## section reports.
##
## Revision 1.102 1997/12/07 12:14:43 peterg
## Hnadles book, article and section reports seperately
##
|
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
|
else
$1_rep.txt:
echo Creating $1_rep.txt;
( \
echo "# Outline report file for system $1 ($1_rep.txt)"; \
cat $MTTPATH/trans/m/rcs_header.txt; \
echo "mtt $1 abg tex"; \
echo "mtt $1 struc tex"; \
echo "mtt $1 dae tex"; \
echo "mtt $1 dm tex"; \
echo "mtt $1 lmfr ps"; \
)> $1_rep.txt
endif
#SUMMARY rbg raw bond graph (m)
#Raw bond graph: fig file to mfile
$1_rbg.m: $1_abg.fig $1_lbl.txt
rbg_fig2m $1
|
<
<
<
<
|
946
947
948
949
950
951
952
953
954
955
956
957
958
959
|
else
$1_rep.txt:
echo Creating $1_rep.txt;
( \
echo "# Outline report file for system $1 ($1_rep.txt)"; \
cat $MTTPATH/trans/m/rcs_header.txt; \
echo "mtt $1 abg tex"; \
)> $1_rep.txt
endif
#SUMMARY rbg raw bond graph (m)
#Raw bond graph: fig file to mfile
$1_rbg.m: $1_abg.fig $1_lbl.txt
rbg_fig2m $1
|
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
|
ifeq ($REPTYPE,data)
#Create PostScript version of dat file
# + another version with Args added to the name if its appropriate
$1_$2.ps: $1_$2.gdat
gdat2ps $1_$2 '$ARGS';
ifeq ($PLOTTYPE,multiple)
ifneq ($ARGS,)
cp $1_$2.ps $1_$2$_ARGS.ps ; echo COPYING
endif
endif
endif
ifeq ($REPTYPE,tex)
#Create PostScript version of dvi file
|
|
>
|
|
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
|
ifeq ($REPTYPE,data)
#Create PostScript version of dat file
# + another version with Args added to the name if its appropriate
$1_$2.ps: $1_$2.gdat
gdat2ps $1_$2 '$ARGS';
ifeq ($PLOTTYPE,multiple)
ifneq ($_ARGS,)
echo Creating $1_$2$_ARGS.ps
cp $1_$2.ps $1_$2$_ARGS.ps
endif
endif
endif
ifeq ($REPTYPE,tex)
#Create PostScript version of dvi file
|
1449
1450
1451
1452
1453
1454
1455
1456
|
EOF
# Tidy up.
# echo Removing log files and other garbage
rm -f *_unique_raw_list *_raw_list
rm -f mtt_error.txt mtt_info.txt a.out
rm -f *.log mtt_info.txt warning.txt
rm -f *_*.idx *_*.ind *_*.ilg *_*.aux *_*.lof *_*.toc
|
|
|
1449
1450
1451
1452
1453
1454
1455
1456
|
EOF
# Tidy up.
# echo Removing log files and other garbage
rm -f *_unique_raw_list *_raw_list
rm -f mtt_error.txt mtt_info.txt a.out
rm -f *.log mtt_info.txt warning.txt
# rm -f *_*.idx *_*.ind *_*.ilg *_*.lof *_*.toc
|