[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-tech-pkg
Subject:    Re: How to use bin-install along with package
From:       Thomas Klausner <wiz () NetBSD ! org>
Date:       2020-08-27 20:59:52
Message-ID: 20200827205952.fuudaar6akzxc5fo () yt ! nih ! at
[Download RAW message or body]

On Thu, Aug 27, 2020 at 07:38:02PM +0000, John Klos wrote:
> It seems that "make bin-install package" compiles a package twice.
> 
> I'd like to make the most number of packages possible, so how does one make
> each dependency in to a binary package, but only if a binary package doesn't
> exist, then make the selected package in to a binary package, after
> compiling just once?
> 
> Do we need a new target that does what one would expect "make bin-install
> package" should do?

Does this do what you want?

make DEPENDS_TARGET=bin-install install-depends
make bin-install

bin-install needs a package to install, so if one doesn't exist yet,
it should build one first.
 Thomas
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic