Overview
Comment:Octave load path no longer accepts trailing // as recursive.
Path is now calculated using find, which is much quicker than Octave's genpath()
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 33770423f27545621272d807992403a45467539b095636f4f81d91e7a1e835a9
User & Date: geraint@users.sourceforge.net on 2009-06-26 01:08:49
Other Links: branch diff | manifest | tags
Context
2009-06-26
01:09:25
Built-in variables must now be set using function calls not assignments check-in: 3d0f1c5cde user: geraint@users.sourceforge.net tags: origin/master, trunk
01:08:49
Octave load path no longer accepts trailing // as recursive.
Path is now calculated using find, which is much quicker than Octave's genpath()
check-in: 33770423f2 user: geraint@users.sourceforge.net tags: origin/master, trunk
2008-10-04
15:42:10
Dash chokes on backtick, so replaced with check-in: 166c285ec2 user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/mttrc from [0751992d9d] to [48e6f8d2db].

11
12
13
14
15
16
17



18
19
20
21
22
23
24


###############################################################
## Version control history
###############################################################
## $Id$
## $Log$



## Revision 1.43  2006/02/09 23:49:40  geraint
## added rtxi build flags
##
## Revision 1.42  2005/11/16 00:43:15  geraint
## rtxi
##
## Revision 1.41  2004/02/17 17:53:34  geraint







>
>
>







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


###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.44  2006/04/25 23:24:29  geraint
## Reverted to simple g++ for MTT_CXX. Trying to force the version causes library problems.
##
## Revision 1.43  2006/02/09 23:49:40  geraint
## added rtxi build flags
##
## Revision 1.42  2005/11/16 00:43:15  geraint
## rtxi
##
## Revision 1.41  2004/02/17 17:53:34  geraint
195
196
197
198
199
200
201
202

203


204




205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
  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\:$MTT_REP
  
  #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='gv'
  
  # Setup pdf viewer
  export PDFVIEW='acroread'
  
  # Setup html viewer
  export HTMLVIEW='mozilla'
  
  # Setup dvi viewer
  export DVIVIEW='xdvi'
  
  # Setup latex2html
  export LATEX2HTML="latex2html -contents_in_navigation -index_in_navigation -address http://mtt.sourceforge.net"
  







|
>
|
>
>
|
>
>
>
>
|
<

|

















|





|







198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215

216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
  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\:$MTT_REP
  
  #Setup octave
  MATRIX="octave"
  #MATRIX_PATH1=$(echo "genpath('$MTTPATH/trans/m')"     |$MATRIX -q | awk '{print $3}') 
  #MATRIX_PATH2=$(echo "genpath('$MTT_LIB/comp/simple')" |$MATRIX -q | awk '{print $3}') 
  #MATRIX_PATH3=$(echo "genpath('$MTT_LIB/control')"     |$MATRIX -q | awk '{print $3}') 
  #MATRIX_PATH4=$(echo "genpath('$MTT_LIB/octave')"      |$MATRIX -q | awk '{print $3}') 
  #export MATRIX_PATH=$MATRIX_PATH1:$MATRIX_PATH2:$MATRIX_PATH3:$MATRIX_PATH4
  MATRIX_PATH1=$(find $MTTPATH/trans/m     -type d|grep -v CVS|awk '{printf ":%s", $0}')
  MATRIX_PATH2=$(find $MTT_LIB/comp/simple -type d|grep -v CVS|awk '{printf ":%s", $0}')
  MATRIX_PATH3=$(find $MTT_LIB/control     -type d|grep -v CVS|awk '{printf ":%s", $0}')
  MATRIX_PATH4=$(find $MTT_LIB/octave      -type d|grep -v CVS|awk '{printf ":%s", $0}')
  export MATRIX_PATH=$MATRIX_PATH1:$MATRIX_PATH2:$MATRIX_PATH3:$MATRIX_PATH4

  export OCTAVE_PATH=.\:$MATRIX_PATH
  export MATRIX="$MATRIX --path $OCTAVE_PATH"
  
  # 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='evince'
  
  # Setup pdf viewer
  export PDFVIEW='acroread'
  
  # Setup html viewer
  export HTMLVIEW='firefox'
  
  # Setup dvi viewer
  export DVIVIEW='xdvi'
  
  # Setup latex2html
  export LATEX2HTML="latex2html -contents_in_navigation -index_in_navigation -address http://mtt.sourceforge.net"
  


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