Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/share/mk



On Wed, Sep 03, 2003 at 10:28:02AM -0400, Perry E. Metzger wrote:
  | 
  | Alan Barrett <apb%cequrux.com@localhost> writes:
  | > On Wed, 03 Sep 2003, Luke Mewburn wrote:
  | > > Implement LNFILES: a list of two word items:
  | > >         lnsrc lntgt
  | > > For each lnsrc item, create a symlink named lntgt.
  | > > The lntgt symlinks are removed by the cleandir target.
  | > 
  | > Why is the SYMLINKS variable (handled by bsd.links.mk) not good enough
  | > for this purpose?
  | 
  | Ditto, why not use SYMLINKS?


SYMLINKS creates symlinks in the DESTDIR, not the .OBJDIR.

LNFILES is provided for source paths that you need in the .OBJDIR
that either  need a different name than that in the dist/ .PATH, or
have to be in the current directory due to implementation issues with
a host tool.  These (temporary) links are also cleaned when necessary,
unlike $SYMLINKS targets.

We already have a bunch of code in the tree that reinvents the wheel
to enable a build, and will need this more for another reachover build
I'm working on.  This stuff can be simplified with LNFILES now.



Home | Main Index | Thread Index | Old Index