Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Mar 2024 22:44:55 +0300
From:      Gleb Popov <arrowd@freebsd.org>
To:        Miroslav Lachman <000.fbsd@quip.cz>
Cc:        "freebsd-ports@FreeBSD.org" <freebsd-ports@freebsd.org>
Subject:   Re: how to see order of make targets steps in ports tree?
Message-ID:  <CALH631mZGxYL8osQ0fcc-XTN%2ByN9jbzuAj0YfF4ZV0vyGb5FkA@mail.gmail.com>
In-Reply-To: <610f900f-658f-474d-885a-abbe709a00f7@quip.cz>
References:  <610f900f-658f-474d-885a-abbe709a00f7@quip.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 14, 2024 at 9:55=E2=80=AFPM Miroslav Lachman <000.fbsd@quip.cz>=
 wrote:
>
> Is there a way to see the order of the executed steps by "make"?
>
> tl;dr: I know "make" will run many targets like fetch, checksum,
> extract, patch... but I would like to see some verbose info about these
> steps, mainly what is the order of the steps when I run "make".
> I tried to create some patch to one the port and it seems like
> "shebangfix" is run before "patch" but I don't know how to see what is
> true order of the targets.
>
> Kind reagards
> Miroslav Lachman
>

Here is the relevant piece of code:
https://github.com/freebsd/freebsd-ports/blob/48aba78cfc9200e236e17781f9445=
6d57c599a69/Mk/bsd.port.mk#L5436
You can also use `make -N` to see actual commands ran by any target.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALH631mZGxYL8osQ0fcc-XTN%2ByN9jbzuAj0YfF4ZV0vyGb5FkA>