Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jul 2005 21:43:38 +0300
From:      Michael Dexter <dexter@ambidexter.com>
To:        Chuck Swiger <cswiger@mac.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: List all make targets?
Message-ID:  <a0623091ebeef28addc59@[192.168.1.100]>
In-Reply-To: <42C96953.9020406@mac.com>
References:  <a06230909beeec801f4e1@[192.168.1.100]> <42C96953.9020406@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>Michael Dexter wrote:
>>Is there a 'make' flag to list all make targets for any given 
>>directory containing Makefile* ?
>
>grep ':' Makefile  ...comes pretty close.

Another reader suggested I cat the file... I take it the answer is 
"no." Specifically I am looking for a quick way to see the make 
targets as 'make' would accept them while hunting for 'uninstall' and 
other surprises. I see that it gets complicated as i.e. "_legacy" is 
a legitimate target along with "buildworld." More to investigate!

>>It's a brilliant mechanism but I get lost chasing variables that 
>>may span /usr/src/Makefile.inc1 and /usr/share/mk/ and...
>
>What problem are you trying to solve?

My understanding of the system for the purposes of world reduction 
and custom release engineering. My work is 1/2 way to being an 
informal howto on the subject.

Thanks to all who responded.

Michael.



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