Overview
Comment:Put a conditional around the PS data rep to check for set arguments.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 4468bac967ef244eb7f27c2a3233244834e57ec80ac028976dc9ecb3f31de1cc
User & Date: gawthrop@users.sourceforge.net on 1997-12-06 12:14:39
Other Links: branch diff | manifest | tags
Context
1997-12-06
14:27:53
No changes. check-in: 8910c08dcf user: gawthrop@users.sourceforge.net tags: origin/master, trunk
12:14:39
Put a conditional around the PS data rep to check for set arguments. check-in: 4468bac967 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
1997-12-04
22:10:18
Handles argument list - variable names. check-in: a2854f96b3 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/mtt from [d815157099] to [481cbf77ab].

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.98  1997/12/04 10:58:15  peterg
## Tidied up switches
##
## Revision 1.97  1997/12/04 10:44:33  peterg
## Changed $cc to $CC
##
## Revision 1.96  1997/12/04 10:40:26  peterg







>
>
>







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.99  1997/12/04 22:06:53  peterg
## Added view arguments for graph plotting
##
## Revision 1.98  1997/12/04 10:58:15  peterg
## Tidied up switches
##
## Revision 1.97  1997/12/04 10:44:33  peterg
## Changed $cc to $CC
##
## Revision 1.96  1997/12/04 10:40:26  peterg
1292
1293
1294
1295
1296
1297
1298


1299
1300
1301
1302
1303






1304
1305
1306
1307
1308
1309
1310
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
$1_$2.ps: $1_$2.gdat
	gdat2ps $1_$2 '$ARGS'
	cp -u $1_$2.ps $1_$2$_ARGS.ps        






endif

ifeq ($REPTYPE,tex)
#Create PostScript version of dvi file
$1_$2.ps: $1_$2.dvi
	echo Creating $1_$2.ps
	dvips -o $1_$2.ps $1_$2







>
>




|
>
>
>
>
>
>







1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
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)

ifdef $ARGS
#Create PostScript version of dat file 
#  + another version with Args added to the name
$1_$2.ps: $1_$2.gdat
	gdat2ps $1_$2 '$ARGS'
	cp  $1_$2.ps $1_$2$_ARGS.ps        
else
#Create PostScript version of dat file 
$1_$2.ps: $1_$2.gdat
	gdat2ps $1_$2 '$ARGS'
endif

endif

ifeq ($REPTYPE,tex)
#Create PostScript version of dvi file
$1_$2.ps: $1_$2.dvi
	echo Creating $1_$2.ps
	dvips -o $1_$2.ps $1_$2


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