Overview
Comment:If then else format
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: f760d4f50ff9b6d4e5afd20d94a93429189b1180b0e76bd77fa50f3c14355cea
User & Date: gawthrop@users.sourceforge.net on 2000-12-27 15:16:44
Other Links: branch diff | manifest | tags
Context
2000-12-27
16:05:29
Initial revision check-in: 1404c4a1cd user: gawthrop@users.sourceforge.net tags: origin/master, trunk
15:16:44
If then else format check-in: f760d4f50f user: gawthrop@users.sourceforge.net tags: origin/master, trunk
14:57:43
Now takes the base path as an argument check-in: 6484a6bc3b user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/mttrc from [2d8c71b858] to [72bcf54b19].

11
12
13
14
15
16
17



18
19
20
21
22
23
24
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27







+
+
+









###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.15  2000/12/27 14:57:43  peterg
## Now takes the base path as an argument
##
## Revision 1.14  2000/12/27 13:11:43  peterg
## *** empty log message ***
##
## Revision 1.13  2000/10/03 12:12:14  peterg
## New path structure to account for three way split in mtt tree
##
## Revision 1.12  2000/09/18 12:17:07  peterg
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132


































































133
134
135
136
137
138
139
140
141
142
143
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134


















-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
#
###############################################################

MTT_BASE=$1

if [ -z "$MTT_BASE" ]; then
  echo mttrc requires one argument: eg mttrc /usr/share/mtt/latest
  exit
else
fi

# The following line sets up the make to use -- gmake is the standard 
# but you may wish to use lsmake for parallelism
export MAKE='make'

# The following sets up the c compiler
export CC='gcc'

# Setup the paths
export MTTPATH=$MTT_BASE/bin
export MTT_LIB=$MTT_BASE/mtt-lib
export MTT_DOC=$MTT_BASE/mtt-doc
export MTT_CC=$MTT_BASE/mtt-cc

export MTT_COMPONENTS=$MTT_LIB/comp
export MTT_CRS=$MTT_LIB/cr
export MTT_EXAMPLES=$MTT_LIB/examples
export MTT_REP=$MTT_LIB/rep

export PATH=$PATH\:$MTTPATH\:$MTTPATH/trans\:$MTT_CC

#Setup octave
export MATRIX_PATH=$MTTPATH/trans/m//
export MATRIX_PATH=$MATRIX_PATH\:$MTT_LIB/comp/simple//
export MATRIX_PATH=$MATRIX_PATH\:$MTT_LIB/control//
export MATRIX_PATH=$MATRIX_PATH\:$MTT_LIB/octave//\:\:

export OCTAVE_PATH=.\:$MATRIX_PATH
export MATRIX="octave"

# Setup the symbolic stuff
export SYMBOLIC='reduce 64'


# Setup xfig
export FIG="xfig  \
	-startfontsize 20 \
	-metric \
	-portrait \
	-startgridmode 2 \
	-pheight 21 \
	-pwidth 30 \
	-library_dir $MTT_LIB/xfig/\
	"

# Setup ps viewer
export PSVIEW='ghostview'

# Setup pdf viewer
export PDFVIEW='acroread'

# Setup html viewer
export HTMLVIEW='netscape'

# Setup dvi viewer
export DVIVIEW='xdvi'

# Setup latex2html
export LATEX2HTML="latex2html -contents_in_navigation -index_in_navigation -address http://mtt.sourceforge.net"

# Ascend stuff
export ASCENDLIBRARY=$MTTPATH/ascend/lib

# Oct file generation - use version with no optimisation.
export MKOCTFILE=$MTT_LIB/octave/mkoctfile

  echo Setting paths with base $MTT_BASE
  # The following line sets up the make to use -- gmake is the standard 
  # but you may wish to use lsmake for parallelism
  export MAKE='make'
  
  # The following sets up the c compiler
  export CC='gcc'
  
  # Setup the paths
  export MTTPATH=$MTT_BASE/bin
  export MTT_LIB=$MTT_BASE/mtt-lib
  export MTT_DOC=$MTT_BASE/mtt-doc
  export MTT_CC=$MTT_BASE/mtt-cc
  
  export MTT_COMPONENTS=$MTT_LIB/comp
  export MTT_CRS=$MTT_LIB/cr
  export MTT_EXAMPLES=$MTT_LIB/examples
  export MTT_REP=$MTT_LIB/rep
  
  export PATH=$PATH\:$MTTPATH\:$MTTPATH/trans\:$MTT_CC
  
  #Setup octave
  export MATRIX_PATH=$MTTPATH/trans/m//
  export MATRIX_PATH=$MATRIX_PATH\:$MTT_LIB/comp/simple//
  export MATRIX_PATH=$MATRIX_PATH\:$MTT_LIB/control//
  export MATRIX_PATH=$MATRIX_PATH\:$MTT_LIB/octave//\:\:
  
  export OCTAVE_PATH=.\:$MATRIX_PATH
  export MATRIX="octave"
  
  # Setup the symbolic stuff
  export SYMBOLIC='reduce 64'
  
  
  # Setup xfig
  export FIG="xfig  \
  	-startfontsize 20 \
  	-metric \
  	-portrait \
  	-startgridmode 2 \
  	-pheight 21 \
  	-pwidth 30 \
  	-library_dir $MTT_LIB/xfig/\
  	"
  
  # Setup ps viewer
  export PSVIEW='ghostview'
  
  # Setup pdf viewer
  export PDFVIEW='acroread'
  
  # Setup html viewer
  export HTMLVIEW='netscape'
  
  # Setup dvi viewer
  export DVIVIEW='xdvi'
  
  # Setup latex2html
  export LATEX2HTML="latex2html -contents_in_navigation -index_in_navigation -address http://mtt.sourceforge.net"
  
  # Ascend stuff
  export ASCENDLIBRARY=$MTTPATH/ascend/lib
  
  # Oct file generation - use version with no optimisation.
  export MKOCTFILE=$MTT_LIB/octave/mkoctfile
fi












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