Overview
Comment:Put in help, info and warranty stuff.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 23d5f81efa4163a010d978b12db0d8a291b86ad6b386a27b76214fce23dd7ce5
User & Date: gawthrop@users.sourceforge.net on 1996-08-10 09:19:48
Other Links: branch diff | manifest | tags
Context
1996-08-10
09:52:39
Initial revision check-in: f2c384246d user: gawthrop@users.sourceforge.net tags: origin/master, trunk
09:19:48
Put in help, info and warranty stuff. check-in: 23d5f81efa user: gawthrop@users.sourceforge.net tags: origin/master, trunk
1996-08-09
15:13:13
Generic viewing of any representation via ps files implemented. check-in: e7d7faba50 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/mtt from [3b392c3dda] to [616a76e3bc].

15
16
17
18
19
20
21



22
23
24
25
26
27
28





29






30




31




32




33




34
















35
36
37
38
39
40
41
# Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996.

###############################################################
## Version control history
###############################################################
## $Header$
## $Log$



## Revision 1.2  1996/08/05 19:50:55  peter
## Put in fig.fig target.
##
## Revision 1.1  1996/08/04 17:29:42  peter
## Initial revision
##
###############################################################

















echo "     ###################################################"




echo "     ###### MTT (Model Transformation Tools) V2.0 ######"




echo "     ###################################################"





















make  -s -f -  $1_$2.$3 << EOF

#Create acausal bond graph figure using xfig 
$1_abg.fig:
	$FIG $1_abg.fig &

#Create empty files (with titles) if not already there







>
>
>







>
>
>
>
>

>
>
>
>
>
>

>
>
>
>
|
>
>
>
>
|
>
>
>
>
|
>
>
>
>

>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996.

###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
## Revision 1.3  1996/08/09 15:13:13  peter
## Generic viewing of any representation via ps files implemented.
##
## Revision 1.2  1996/08/05 19:50:55  peter
## Put in fig.fig target.
##
## Revision 1.1  1996/08/04 17:29:42  peter
## Initial revision
##
###############################################################
echo
echo 'MTT (Model Transformation Tools) version 2.0'
echo 'This is free software with ABSOLUTELY NO WARRANTY.'
echo 'Type `mtt warranty'\' 'for details.'
echo

if [ "$1" = "" ]; then
  echo 'Usage: mtt info'
  echo '       mtt warranty'
  echo '       mtt system_name representation language'
  exit
fi

if [ "$1" = "info" ] && [$2 = ""]; then
  info -f $MTTPATH/../doc/mtt.info
  exit
fi

if [ "$1" = "warranty" ] && [$2 = ""]; then
  cat << EOF
Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 1995,1996 Peter J. Gawthrop
This is free software with ABSOLUTELY NO WARRANTY.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, write to the Free Software
Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.

EOF
  exit
fi

if [ "$1" = "clean" ] && [$2 = ""]; then
  echo 'Removing log, dvi and ps files'
  rm *.log *.dvi *.ps
  exit
fi

# This is the main mtt programme
 
make  -s -f -  $1_$2.$3 << EOF

#Create acausal bond graph figure using xfig 
$1_abg.fig:
	$FIG $1_abg.fig &

#Create empty files (with titles) if not already there
222
223
224
225
226
227
228

229
230
231
232
233
234
235
	echo Creating $1_$2.ps
	dvips -o $1_$2.ps $1_$2.dvi 2> /dev/null
endif
endif

#View a ps file
$1_$2.view: $1_$2.ps

	ghostview $1_$2.ps&

#Report generation
$1_rep.tex: $1_sum.tex $1_dae.tex $1_lbl.txt $1_sympar.r $1_cr.r \
            $1_abg.ps
	echo Creating $1_rep.tex 
	make_report $1 > $1_rep.tex







>







268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
	echo Creating $1_$2.ps
	dvips -o $1_$2.ps $1_$2.dvi 2> /dev/null
endif
endif

#View a ps file
$1_$2.view: $1_$2.ps
	echo Creating view of $1_$2
	ghostview $1_$2.ps&

#Report generation
$1_rep.tex: $1_sum.tex $1_dae.tex $1_lbl.txt $1_sympar.r $1_cr.r \
            $1_abg.ps
	echo Creating $1_rep.tex 
	make_report $1 > $1_rep.tex


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