Overview
| Comment: | Added verbose (-v) mode. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | origin/master | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
a8997af0870982a988d9624af8841a5a |
| User & Date: | gawthrop@users.sourceforge.net on 1998-02-11 19:26:03.000 |
| Other Links: | branch diff | manifest | tags |
Context
|
1998-02-11
| ||
| 19:36:29 | Only displays one level of cbg file now. check-in: 27311e5838 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 19:26:03 | Added verbose (-v) mode. check-in: a8997af087 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 11:36:28 |
Updated version control mode - make it untidy. cp --> cp -u after tidy-mode . check-in: 98d7b8fab8 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/mtt
from [4c17dd3cc0]
to [5a302605d6].
| ︙ | ︙ | |||
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.124 1998/02/10 13:03:36 peterg ## Now includes controller transfer function (ctf). ## ## Revision 1.123 1998/02/09 13:51:04 peterg ## Fixed directory string bug. ## ## Revision 1.122 1998/02/06 15:02:26 peterg | > > > > | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | # Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996. ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ ## Revision 1.125 1998/02/11 11:36:28 peterg ## Updated version control mode - make it untidy. ## cp --> cp -u after tidy-mode . ## ## Revision 1.124 1998/02/10 13:03:36 peterg ## Now includes controller transfer function (ctf). ## ## Revision 1.123 1998/02/09 13:51:04 peterg ## Fixed directory string bug. ## ## Revision 1.122 1998/02/06 15:02:26 peterg |
| ︙ | ︙ | |||
446 447 448 449 450 451 452 453 454 455 456 457 458 459 | switches=0 #By default, don't print the environment variables print=''; # By default, make it tidy tidy=tidy; #Initialise list mtt_switches=''; #Look for a command line argument while [ -n "`echo $1 | grep '^-'`" ]; do | > > > | 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 | switches=0 #By default, don't print the environment variables print=''; # By default, make it tidy tidy=tidy; # Default not verbose verbose=' -s' #Initialise list mtt_switches=''; #Look for a command line argument while [ -n "`echo $1 | grep '^-'`" ]; do |
| ︙ | ︙ | |||
476 477 478 479 480 481 482 483 484 485 486 487 488 489 |
-d )
directory=$2; cd $directory; shift ;;
-S )
directory=$2; shift;;
-D )
mtt_switches="$mtt_switches $1";
debug=debug ;;
-t )
tidy=tidy ;;
-T )
tidy=tidy;
verytidy=verytidy ;;
-u )
tidy=untidy ;;
| > > > | 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 |
-d )
directory=$2; cd $directory; shift ;;
-S )
directory=$2; shift;;
-D )
mtt_switches="$mtt_switches $1";
debug=debug ;;
-v )
mtt_switches="$mtt_switches $1";
verbose=' -w ' ;;
-t )
tidy=tidy ;;
-T )
tidy=tidy;
verytidy=verytidy ;;
-u )
tidy=untidy ;;
|
| ︙ | ︙ | |||
529 530 531 532 533 534 535 |
echo ' mtt clean'
echo ' mtt <system_name> clean'
echo ' mtt copy <system_name> <path_name>'
echo ' mtt rename <old_name> <new_name>'
echo ' mtt <system_name> <representation> vc'
echo ' mtt <system_name> <representation> <language>'
echo ' mtt <system_name> <representation> <language> <parameters>'
| | > | 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 |
echo ' mtt clean'
echo ' mtt <system_name> clean'
echo ' mtt copy <system_name> <path_name>'
echo ' mtt rename <old_name> <new_name>'
echo ' mtt <system_name> <representation> vc'
echo ' mtt <system_name> <representation> <language>'
echo ' mtt <system_name> <representation> <language> <parameters>'
echo 'Options: -q quiet mode -- suppress MTT banner'
echo ' -v verbose mode'
echo ' -p print environment variables'
echo ' -c c-code generation'
echo ' -o ode and dae are the same'
echo ' -s use switch (ISW and CSW) components'
echo ' -d <dir> use directory <dir>'
echo ' -t tidy mode (default)'
echo ' -u untidy mode (leaves files in current dir)'
|
| ︙ | ︙ | |||
899 900 901 902 903 904 905 | ################################ # This is the main mtt programme ################################ | | | 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 |
################################
# This is the main mtt programme
################################
$MAKE $verbose -f - $1_$2.$3 << EOF
# Cancel implicit rules I don't want
%.dvi: %.tex
# If level>0, try and get subsystem files
ifneq ("$level","0")
$1_abg.fig:
|
| ︙ | ︙ |