Craig A. Berry wrote:

> Hmm.  Here's the relevant snippet from descrip.mms:
> 
> # install ought not need a source, but it doesn't work if one's not
> # there. Go figure...
> install : $(MINIPERL_EXE)
>         @ @perl_setup.com
>         If F$TrnLnm("Sys") .nes. "" Then Deass SYS
>         $(MINIPERL) installperl
> 
> It doesn't look like there are any file system objects to the left of
> the colon.  If we add a dependency, I wonder if we wouldn't want a
> dummy file that gets copied to the install directory at the end of
> the install rather than the Perl binary, which is one of the first
> things copied.  That way a failed or interrupted installation would
> not report being up to date.  Then we'd need to document that a
> reinstall should use MMK/FORCE or the user should delete the dummy
> file.

That would be a much better way to do it.  E.g. I am pretty sure
that the posix/unix Makefile tries to ensure that `make test` was run
before `make install` was attempted via the presence of a symlink in
the t/ directory.  We could do something quite similar.

Peter Prymmer


Reply via email to