[m-rev.] For review: Pull request 4.
Paul Bone
paul at bone.id.au
Wed Jan 9 14:49:59 AEDT 2013
On Wed, Jan 09, 2013 at 10:43:48AM +1100, Julien Fischer wrote:
> On Wed, Jan 9, 2013 at 10:35 AM, Paul Bone <paul at bone.id.au> wrote:
>
> >> > I wonder if we can solve this with a PHONY target that is a dependency of
> >> > the 'all' target
> >>
> >> The trick would be that you can't run the depend target if you are
> >> compiling from
> >> the source distribution since in that case you presumably don't have a Mercury
> >> compiler with which to build the dependencies.
> >>
> >
> > But a new target (that is a pre-requeiste for depend and all) doesn't need
> > to invoke the compiler. It only needs to copy these files, or ensure that
> > they have been copied.
>
> Copying the files is currently done as part of the depend target.
> Even if it were not
> you wouldn't want copy them again if you have the source distribution since that
> would change the timestamps on the .m files and you don't yet have a Mercury
> compiler with which to compile them.
Right.
--
Paul Bone
http://www.bone.id.au
More information about the reviews
mailing list