Overview
Comment:Removed debugging lines.
Auto parts in books.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 066e4b6febace9a7974524cac03b16c76a6f080c5c42245cbb08ad586aa38ea8
User & Date: gawthrop@users.sourceforge.net on 1998-02-05 16:06:53
Other Links: branch diff | manifest | tags
Context
1998-02-06
14:36:51
Report on copying back from MTT_work check-in: 9e1b6bbeea user: gawthrop@users.sourceforge.net tags: origin/master, trunk
1998-02-05
16:06:53
Removed debugging lines.
Auto parts in books.
check-in: 066e4b6feb user: gawthrop@users.sourceforge.net tags: origin/master, trunk
15:04:25
Fixed problem with book in tidy mode. check-in: 403330cc63 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/mtt from [3ce1ba1a0c] to [263834fe1f].

10
11
12
13
14
15
16



17
18
19
20
21
22
23
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.119  1998/02/05 15:04:25  peterg
## Fixed problem with book in tidy mode.
##
## Revision 1.118  1998/02/05 12:00:11  peterg
## Tidy mode now default.
## It seems to work ok but not for book type documents.
##
## Revision 1.117  1998/02/04 16:50:50  peterg
## Introduced the tidy (-t and -T) options
##
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
633
634
635
636
637
638
639

640
641
642
643
644
645
646







-







if [ "$2" = "rep" ]; then
     documenttype=article
      # See if we are making a book -- ie representation rep on a directory
     isMTT_work=`pwd | grep 'MTT_work`
      if [ -n "$isMTT_work" ]; then
	dotdot='../'
      fi  
echo $dotdot$1
  
     isdirectory=`file $dotdot$1 | awk '{print $2}' | grep directory`
     if [ -n "$isdirectory" ]; then
	documenttype=book
     fi
else
     documenttype=section
745
746
747
748
749
750
751
752

753
754
755
756
757
758
759
747
748
749
750
751
752
753

754
755
756
757
758
759
760
761







-
+







  fi
  exit
fi

# Tidy mode - operate in the directory MTT-work
if [ "$tidy" = "tidy" ]; then
   mkdir -p MTT_work
   cp -u -f *_*.* MTT_work
   cp -u  *_*.* MTT_work 2>/dev/null
   cd MTT_work
   Directory=$directory/MTT_work
     mtt -u -q  $mtt_switches -S $Directory  $1 $2 $3 $4
   if [ "$3" != "view" ]; then
     cp -f $1_$2.$3 ..
   fi


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