Estimated hours taken: 0.25
scripts/mercury_update_interface.in:
If interface file has changed, print out a message, even
if `-v' (verbose) was not specified. Rationale: this is
useful information, and printing it out makes it easier to
understand why Mmake decides to remake things.
Estimated hours taken: 0.25
Fix a problem on Windows reported by Dominique de Waleffe.
scripts/mercury_update_interface.in:
Delete the hard-coded setting of `PATH=/bin:/usr/bin'.
The original intent was to avoid problems with people who have
done things like putting shell scripts that override the
standard commands such as `mv' and `cp' in their path.
However, since we haven't done this consistently for all of our
shell scripts, and since this causes problems for Windows
installations (for which the binaries might not be in /bin
or /usr/bin), it seems simplest to just remove it.
If we run into any problems with this, it should be put back in
as `PATH=/bin:/usr/bin:$PATH' rather than `PATH=/bin:/usr/bin',
and it should be done consistently for all shell scripts, not just
this one.
Estimated hours taken: 0.5
scripts/Mmake.rules
scripts/Mmake.vars.in
Add suffixes, rules and options for .opt and .optdate.
scripts/mercury_update_interface.in
Work-around for a problem with parallel gmake. mc --make-interface
was being run twice in a row on the same module. The first call
mercury_update_interface moves module.int.tmp to module.int,
then the second can't find module.int.tmp. The work-around is to
ignore the exit status of the mv.