Subject: Re: installing the same file twice using bsd.*.mk
To: Klaus Heinz <klaus.heinz@onlinehome.de>
From: Todd Vierling <tv@wasabisystems.com>
List: tech-misc
Date: 04/13/2002 12:53:57
On Sat, 13 Apr 2002, Klaus Heinz wrote:

: During a 'build.sh release', the second stage bootloader for NetBSD/Amiga
: (boot.amiga) needs to be installed in $DESTDIR/usr/mdec/ as well as $DESTDIR.

Most platforms do this copy as part of "installboot", by passing *two*
arguments to installboot (first stage short bootblock and second stage boot
program file), not during rolling up of the base sets.  (Part of the reason
for this is so that doing a build with DESTDIR=/ won't hose bootability if
there's bootblock problems unless "installboot" is explicitly run.)

: Is there a way to install the same file twice in different locations?

Basically use ${INSTALL_FILE} directly.  <sigh>

-- 
-- Todd Vierling <tv@wasabisystems.com>  *  Wasabi & NetBSD:  Run with it.
-- CDs, Integration, Embedding, Support -- http://www.wasabisystems.com/