Differences From Artifact [09096b479e]:

To Artifact [79fa6618da]:


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.101  1997/12/06 18:54:53  peterg
## Now tidies up after itself.
## Major modifications to do a rep on a directory -- creates a book with
## each example as a chapter.
##
## Revision 1.100  1997/12/06 12:14:39  peterg
## Put a conditional around the PS data rep to check for set arguments.







>
>
>







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.102  1997/12/07 12:14:43  peterg
## Hnadles book, article and section reports seperately
##
## Revision 1.101  1997/12/06 18:54:53  peterg
## Now tidies up after itself.
## Major modifications to do a rep on a directory -- creates a book with
## each example as a chapter.
##
## Revision 1.100  1997/12/06 12:14:39  peterg
## Put a conditional around the PS data rep to check for set arguments.
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
     if [ -n "$isdirectory" ]; then
	documenttype=book
     fi
else
     documenttype=section
fi

echo documenttype $documenttype

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

$MAKE -s  -f -  $1_$2.$3 << EOF








<







717
718
719
720
721
722
723

724
725
726
727
728
729
730
     if [ -n "$isdirectory" ]; then
	documenttype=book
     fi
else
     documenttype=section
fi



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

$MAKE -s  -f -  $1_$2.$3 << EOF

1334
1335
1336
1337
1338
1339
1340

1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357

#Create PostScript version of fig files
ifeq ($REPTYPE,bg)
$1_$2.ps : $1_$2.fig
	echo Creating $1_$2.ps
	multi_command2 'fig2dev -Lps' $1 $2.fig $2.ps | sh
endif


ifeq ($REPTYPE,data)
#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';echo $PLOTTYPE;

ifeq ($PLOTTYPE,multiple)
ifdef $ARGS
	cp  $1_$2.ps $1_$2$_ARGS.ps        
endif
endif

endif

ifeq ($REPTYPE,tex)
#Create PostScript version of dvi file







>





|


|
|







1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360

#Create PostScript version of fig files
ifeq ($REPTYPE,bg)
$1_$2.ps : $1_$2.fig
	echo Creating $1_$2.ps
	multi_command2 'fig2dev -Lps' $1 $2.fig $2.ps | sh
endif


ifeq ($REPTYPE,data)
#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';echo $REPTYPE $ARGS $PLOTTYPE

ifeq ($PLOTTYPE,multiple)
ifneq ($ARGS,)
	cp  $1_$2.ps $1_$2$_ARGS.ps ; echo COPYING       
endif
endif

endif

ifeq ($REPTYPE,tex)
#Create PostScript version of dvi file

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