Re: installing the same file twice using bsd.*.mk

Todd Vierling <[email protected]>
Newsgroups gmane.os.netbsd.devel.general
Message-ID <Pine.WNT.4.43.0204131245310.1476-100000@todd>
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 <[email protected]>  *  Wasabi & NetBSD:  Run with it.
-- CDs, Integration, Embedding, Support -- http://www.wasabisystems.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.