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

Luke Mewburn <[email protected]>
Newsgroups gmane.os.netbsd.devel.general
Message-ID <[email protected]>
On Sat, Apr 13, 2002 at 02:06:15AM +0200, Klaus Heinz wrote:
  | Hi,
  | 
  | I couldn't find a more appropriate list, so here it goes:
  | 
  | 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. At the moment this is
  | accomplished by a simple 'cp -p' in the Makefile and thus, METALOG
  | doesn't know about it. Consequently $DESTDIR/boot.amiga is not
  | included in base.tgz although it exists in the set lists.
  |
  | I could simple use ${INSTALL_FILE} but although this would work it
  | is probably not the best approach.

Use ${INSTALL_FILE}.


  | Is there a way to install the same file twice in different
  | locations?
  |
  | The best idea I could come up with was copying the file to
  | a different name (e.g. boot.amiga.tmp) and add this name to
  | FILES. FILESDIR_boot.amiga.tmp would then point to '/' and
  | FILESNAME_boot.amiga.tmp would be 'boot.amiga'.
  |
  | What would you do?

-- 
Luke Mewburn  <[email protected]>  http://www.wasabisystems.com
Luke Mewburn     <[email protected]>      http://www.netbsd.org
Wasabi Systems - NetBSD hackers for hire
NetBSD - the world's most portable UNIX-like operating system
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.