Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 May 2021 10:32:13 +0300
From:      Gleb Popov <arrowd@freebsd.org>
To:        Xavier Humbert <xavier@groumpf.org>
Cc:        FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: Ports Makefile rules install vs do-install
Message-ID:  <CALH631mhaud-1m0338EeseZiLQ7QgPGQKjD6n7U1Cgi2LBAbqg@mail.gmail.com>
In-Reply-To: <78bc1f34-ea47-a5b2-e9d6-4b4f1a218a51@groumpf.org>
References:  <78bc1f34-ea47-a5b2-e9d6-4b4f1a218a51@groumpf.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000635e6405c35ee19b
Content-Type: text/plain; charset="UTF-8"

On Fri, May 28, 2021 at 10:24 AM Xavier Humbert <xavier@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?

--000000000000635e6405c35ee19b--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALH631mhaud-1m0338EeseZiLQ7QgPGQKjD6n7U1Cgi2LBAbqg>