Overview
Comment:VERSION 2.9
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 350edf288111ee1b5afed8163fe55a585fe2353076c280f64ba7fefe4499b96c
User & Date: gawthrop@users.sourceforge.net on 1998-04-03 11:17:44
Other Links: branch diff | manifest | tags
Context
1998-04-03
14:02:50
Added 0 and 1 to list of possible ports check-in: 177672449d user: gawthrop@users.sourceforge.net tags: origin/master, trunk
11:17:44
VERSION 2.9 check-in: 350edf2881 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
1998-04-01
08:50:33
Typo fixed. check-in: d0195484cc user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/mtt from [6dc137af28] to [9445296f9c].

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.143  1998/03/22 21:14:03  peterg
## Added obspar.r representation
## Help now case insensitive
##
## Revision 1.142  1998/03/20 15:09:26  peterg
## Changed order of prerequisites for _dae.r to put _rdae.r first.
##







>
>
>







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.144  1998/03/27 13:32:25  peterg
## Removed sympar prerequisites from ss reps.
##
## Revision 1.143  1998/03/22 21:14:03  peterg
## Added obspar.r representation
## Help now case insensitive
##
## Revision 1.142  1998/03/20 15:09:26  peterg
## Changed order of prerequisites for _dae.r to put _rdae.r first.
##
566
567
568
569
570
571
572
573

574
575
576
577
578
579
580
  esac
  shift
done

#Print header if not in quiet (-q) mode.
if [ "$quiet" != "quiet" ]; then
  echo
  echo 'MTT (Model Transformation Tools) version 2.8++ ($Date$)'

  echo 'This is free software with ABSOLUTELY NO WARRANTY.'
  echo 'Type `mtt warranty'\' 'for details.'
  echo
  # Print current directory if in -d mode
  if [ -n "$directory" ]; then
    echo Using directory $directory
    echo







|
>







569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
  esac
  shift
done

#Print header if not in quiet (-q) mode.
if [ "$quiet" != "quiet" ]; then
  echo
  echo 'MTT (Model Transformation Tools) version 2.9'
  echo '($Date$)'
  echo 'This is free software with ABSOLUTELY NO WARRANTY.'
  echo 'Type `mtt warranty'\' 'for details.'
  echo
  # Print current directory if in -d mode
  if [ -n "$directory" ]; then
    echo Using directory $directory
    echo
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
  fi
exit
fi 



# Save up the argument list in a file; but only if argument has changed
ARGS=$4; _ARGS=_$4

#DIFF doesn't like empty files - so put a blank if empty
if [ -z "$ARGS" ]; then
  ARGS=' ';
  _ARGS='';
fi








|







922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
  fi
exit
fi 



# Save up the argument list in a file; but only if argument has changed
ARGS=$4; _ARGS=-$4; __ARGS=`echo $_ARGS | tr ',' '-'`

#DIFF doesn't like empty files - so put a blank if empty
if [ -z "$ARGS" ]; then
  ARGS=' ';
  _ARGS='';
fi

1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
#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







|
|







1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
#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
1846
1847
1848
1849
1850
1851
1852




1853
1854
1855
1856
1857
1858
1859
	gdat2view $1_$2 '$ARGS'&

#View a tex file
$1_$2.tview: $1_$2.dvi
	echo Creating view of $1_$2
	$DVIVIEW $1_$2.dvi&





#Report generation
$1_rep.make: $1_rep.txt $1_args.m
	rep_txt2make $1 "$mtt_switches"

make_reps:
	rep_txt2sh $1; # touch $1_rep.txt








>
>
>
>







1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
	gdat2view $1_$2 '$ARGS'&

#View a tex file
$1_$2.tview: $1_$2.dvi
	echo Creating view of $1_$2
	$DVIVIEW $1_$2.dvi&

#Generate pdf
$1_$2.pdf: $1_$2.ps
	echo Creating $1_$2.pdf
	ps2pdf $1_$2.ps $1_$2.pdf
#Report generation
$1_rep.make: $1_rep.txt $1_args.m
	rep_txt2make $1 "$mtt_switches"

make_reps:
	rep_txt2sh $1; # touch $1_rep.txt


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