make upgrade and DESTDIR (Re: ln -> ${LN} conversion)

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Fri Jul 8 01:24:15 PDT 2005


On 08.07.2005, at 05:56, YONETANI Tomokazu wrote:
attached patch converts all ln commands in makefiles to ${LN}. this
takes us one step further to a installworld which registers installed
files (which in turn will allow us to clean out stale files much more
easily). please test and comment.
(sorry, I couldn't comment on this before the commit)
When you're installing from an older system(-RELEASE, for example)
using DESTDIR, `make upgrade' fails because it uses older <sys.mk> in
the installing system, rather than from the source tree or from
$DESTDIR/share/mk.  If I specify the share/mk in the source tree using
MAKEFLAGS, it seems to work fine.
shouldn't make upgrade be run *after* installworld? (ah, the comment 
also states "post-installworld"). not sure if we should introduce a 
hack then.

cheers
  simon
--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low $$$ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \
Attachment:
PGP.sig
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00007.pgp
Type: application/octet-stream
Size: 186 bytes
Desc: "Description: This is a digitally signed message part"
URL: <http://lists.dragonflybsd.org/pipermail/submit/attachments/20050708/f67ce0eb/attachment-0013.obj>


More information about the Submit mailing list