Overview
Comment:Improved determination of Octave version for ode2odes.exe creation.
Removed FORCE check_update of .txts.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: ee25b5682e7e7f2996d07d0a11f2b18442f56778f131745c2804e3e6b25aeaa6
User & Date: geraint@users.sourceforge.net on 2001-03-27 01:07:34
Other Links: branch diff | manifest | tags
Context
2001-03-27
01:14:27
Improved determination of Octave version. check-in: 31ebb993e5 user: geraint@users.sourceforge.net tags: origin/master, trunk
01:07:34
Improved determination of Octave version for ode2odes.exe creation.
Removed FORCE check_update of .txts.
check-in: ee25b5682e user: geraint@users.sourceforge.net tags: origin/master, trunk
2001-03-26
16:22:25
Updated port aliases check-in: bfd0a906da user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/mtt from [b359365f6e] to [d6ad3f1271].

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







+
+
+







# Copyright (C) 2000 by Peter J. Gawthrop

###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
## Revision 1.295  2001/03/23 11:21:29  gawthrop
## Show -pdf oprion in help list
##
## Revision 1.294  2001/03/19 02:28:52  geraint
## Branch merge: merging-ode2odes-exe back to MAIN.
##
## Revision 1.293.2.8  2001/03/19 01:35:31  geraint
## Reverted forced update check to main branch form, ready for merge.
##
## Revision 1.293.2.7  2001/03/17 09:51:06  geraint
1828
1829
1830
1831
1832
1833
1834
1835
1836



1837
1838

1839

1840
1841
1842
1843
1844
1845
1846
1831
1832
1833
1834
1835
1836
1837


1838
1839
1840


1841

1842
1843
1844
1845
1846
1847
1848
1849







-
-
+
+
+
-
-
+
-
+








if [ -n "$sensitivity" ]; then
  sys=`echo $1 | cut -c 2-`
  sys_abg=$sys"_abg"
fi

## Check octave version
if [ `octave --version | awk -F\. '{print $2}'` ]; then
    define_octave_dev="-DOCTAVE_DEV"
case `$MATRIX --version | awk -F\. '{print $2}'` in
    0) define_octave_dev="";;			# stable 
    1) define_octave_dev="-DOCTAVE_DEV";;	# development
else
    define_octave_dev=""
    *) define_octave_dev="-DOCTAVE_DEV";;
fi
esac

################################
# This is the main mtt programme
################################


##echo Target is $target, Subsystem is $Subsystem, options are $mtt_switches
2065
2066
2067
2068
2069
2070
2071
2072

2073
2074
2075
2076
2077
2078
2079
2080
2081
2082

2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093

2094
2095
2096
2097
2098
2099
2100
2101
2102
2103

2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2068
2069
2070
2071
2072
2073
2074

2075


2076
2077
2078
2079
2080
2081
2082

2083



2084
2085
2086
2087
2088
2089
2090

2091


2092
2093
2094
2095
2096
2097
2098

2099



2100
2101
2102
2103
2104
2105
2106







-
+
-
-







-
+
-
-
-







-
+
-
-







-
+
-
-
-








#SUMMARY simpar	simulation information (m)
$1_simpar.m: $1_simpar.txt $1_def.r $1_sympar.txt
	mtt_txt2m $1 simpar


#SUMMARY numpar	numerical parameter declaration -- default (txt) 
$1_numpar.txt : FORCE
$1_numpar.txt : $1_sympar.txt $1_def.r
	mtt -q $1 sympar txt
	mtt -q $1 def r
ifeq ($target,$1_numpar.txt)
	mtt_update $1 numpar update
else
	mtt_update $1 numpar
endif

#SUMMARY state	numerical state declaration  -- default (txt)
$1_state.txt : FORCE
$1_state.txt : $1_struc.txt $1_sympar.txt $1_def.r
	mtt -q $1 struc txt
	mtt -q $1 sympar txt
	mtt -q $1 def r
ifeq ($target,$1_state.txt)
	mtt_update $1 state update
else
	mtt_update $1 state
endif

#SUMMARY input	numerical state declaration  -- default (txt)
$1_input.txt : FORCE
$1_input.txt : $1_struc.txt $1_sympar.txt
	mtt -q $1 struc txt
	mtt -q $1 sympar txt
ifeq ($target,$1_input.txt)
	mtt_update $1 input update
else
	mtt_update $1 input
endif

#SUMMARY logic	Dynamic switch logic (txt)
$1_logic.txt : FORCE
$1_logic.txt : $1_def.r $1_struc.txt $1_sympar.txt
	mtt -q $1 def r
	mtt -q $1 struc txt
	mtt -q $1 sympar txt
ifeq ($target,$1_logic.txt)
	mtt_update $1 logic update
else
	mtt_update $1 logic
endif

# Dummy target


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