Re: Ports Makefile rules install vs do-install

From: Gleb Popov <arrowd_at_freebsd.org>
Date: Fri, 28 May 2021 10:32:13 +0300
On Fri, May 28, 2021 at 10:24 AM Xavier Humbert <xavier_at_groumpf.org> wrote:

> The problem is :
> * target "do-install" is not invoked if I call make install.
> * calling manually "make do-install" stages the port correctly.
> * if I rename this target to "install", it complains about
> "work/rudder-agent-6.2.7/Makefile" missing, despite the flag NO_BUILD= yes
> * the pkg-plist is conform
> * however, the target "do-test" is correctly called by "make test"
>
> I've carefully read the Porter's Handbook, and can't see where my
> mistake is. I'm not a Makefile guru.
>
> Thanks for help,
>
> Regards,
>
> Xavier
>
> --
> Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Senior Engineer
> https://www.amdh.fr
>

Do you have

.include <bsd.port.mk>

at the end of your Makefile?
Received on Fri May 28 2021 - 07:32:13 UTC

Original text of this message