Overview
Comment:Replaced $() by ``
Replaced make with gmake
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: ab337b2a22ed45a4a2ebebcda7b1cabf4192a41d045642987a6e347eeff52c30
User & Date: gawthrop@users.sourceforge.net on 1996-10-01 14:08:05
Other Links: branch diff | manifest | tags
Context
1996-10-01
14:17:47
*** empty log message *** check-in: a792522be1 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
14:08:05
Replaced $() by ``
Replaced make with gmake
check-in: ab337b2a22 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
11:04:05
Changed name of html document. check-in: 067f283273 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/mtt from [6ac738927c] to [254d1892f5].

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.28  1996/09/13 18:44:11  peter
## Added params dependencies.
##
## Revision 1.27  1996/09/12 19:24:56  peter
## New numpar/params setup.
##
## Revision 1.26  1996/09/10 17:04:47  peter







>
>
>







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.29  1996/10/01  11:04:05  peter
# Changed name of html document.
#
## Revision 1.28  1996/09/13 18:44:11  peter
## Added params dependencies.
##
## Revision 1.27  1996/09/12 19:24:56  peter
## New numpar/params setup.
##
## Revision 1.26  1996/09/10 17:04:47  peter
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215

# Save up the argument list in a file; but only if argument has changed
ARGS=$4;
cat > $1_args.new <<EOF
$ARGS
EOF

DIFF=$(diff -bq $1_args.m $1_args.new 2>/dev/null)

if [ -n "$DIFF" ]; then
  mv $1_args.new $1_args.m
fi

# Classify the representation - needed for conversion route to postscript
case $2 in







|







204
205
206
207
208
209
210
211
212
213
214
215
216
217
218

# Save up the argument list in a file; but only if argument has changed
ARGS=$4;
cat > $1_args.new <<EOF
$ARGS
EOF

DIFF=`diff -bq $1_args.m $1_args.new 2>/dev/null`

if [ -n "$DIFF" ]; then
  mv $1_args.new $1_args.m
fi

# Classify the representation - needed for conversion route to postscript
case $2 in
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
		exit  ;;
  esac
fi


# This is the main mtt programme
 
make -s  -f -  $1_$2.$3 << EOF

# Cancel implicit rules I don't want
%.dvi: %.tex

# Create an arg file if it doesn't exist
$1_args.m:
	touch $1_args.m







|







284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
		exit  ;;
  esac
fi


# This is the main mtt programme
 
gmake -s  -f -  $1_$2.$3 << EOF

# Cancel implicit rules I don't want
%.dvi: %.tex

# Create an arg file if it doesn't exist
$1_args.m:
	touch $1_args.m


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