Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -12,10 +12,14 @@ ############################################################### ## 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. @@ -448,10 +452,13 @@ #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=''; @@ -478,10 +485,13 @@ -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 ;; @@ -531,11 +541,12 @@ echo ' mtt copy ' echo ' mtt rename ' echo ' mtt vc' echo ' mtt ' echo ' mtt ' - echo 'Options: -q quiet mode' + 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 use directory ' @@ -901,11 +912,11 @@ ################################ # This is the main mtt programme ################################ -$MAKE -s -f - $1_$2.$3 << EOF +$MAKE $verbose -f - $1_$2.$3 << EOF # Cancel implicit rules I don't want %.dvi: %.tex # If level>0, try and get subsystem files