13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Copyright (C) 2001 by Peter J. Gawthrop
###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
## Revision 1.388 2004/08/11 08:18:07 geraint
## Ignores diy make files if the file ${rep}_rep.make.ignore exists, thus allowing user-defined makefiles to use the default MTT rules for languages which they do not override. See odes_rep.make and odeso_rep.make for an example of its use.
##
## Revision 1.387 2004/08/11 07:44:18 geraint
## Included cmp.m as a prerequisite for abg.m
##
## Revision 1.386 2004/08/05 00:02:57 geraint
|
>
>
>
|
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Copyright (C) 2001 by Peter J. Gawthrop
###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
## Revision 1.389 2004/08/13 01:32:03 geraint
## Use ibg.m by default for both Xfig and Dia models.
##
## Revision 1.388 2004/08/11 08:18:07 geraint
## Ignores diy make files if the file ${rep}_rep.make.ignore exists, thus allowing user-defined makefiles to use the default MTT rules for languages which they do not override. See odes_rep.make and odeso_rep.make for an example of its use.
##
## Revision 1.387 2004/08/11 07:44:18 geraint
## Included cmp.m as a prerequisite for abg.m
##
## Revision 1.386 2004/08/05 00:02:57 geraint
|
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
|
read_file_name=`basename ${read_file}`
touch ${read_file_name}
done
done
fi
# Tidy mode - operate in the directory MTT-work
if [ "$tidy" = "tidy" ]; then
mkdir -p MTT_work
valid_files=`ls | grep -v '^MTT'`
##cp -p -u Makefile Make *.* .* MTT_work 2>/dev/null
cp -p -u -R ${valid_files} MTT_work 2>/dev/null
# Go to MTT_work
cd MTT_work
|
|
|
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
|
read_file_name=`basename ${read_file}`
touch ${read_file_name}
done
done
fi
# Tidy mode - operate in the directory MTT-work
if [[ "$tidy" = "tidy" && "$level" = "0" ]]; then
mkdir -p MTT_work
valid_files=`ls | grep -v '^MTT'`
##cp -p -u Makefile Make *.* .* MTT_work 2>/dev/null
cp -p -u -R ${valid_files} MTT_work 2>/dev/null
# Go to MTT_work
cd MTT_work
|