Thread (45 messages) 45 messages, 4 authors, 2025-08-07

Re: How and when to control hyphenation (was: [PATCH 05/10] fsconfig.2: document 'new' mount api)

From: Alejandro Colomar <alx@kernel.org>
Date: 2025-08-07 08:39:52

On Thu, Aug 07, 2025 at 12:14:00PM +1000, Aleksa Sarai wrote:
quoted
I developed that script when I got tired of updating the hard-coded
help, as it always got out of sync with the real Makefile.  :)
I'll definitely keep this "make -p" pipeline as a neat tool in my
toolbelt.
Thanks!  :-)
quoted
	$ make -R help
	Common targets:
		all		Synonym of 'build'
		build		Build the usual stuff
		build-all	Build everything
		check		Check the results of the build
		clean		Remove all temporary files
		dist		Produce the release tarball
		distcheck	Check the release tarball
		help		Print this help
		install		Install the usual stuff
		install-all	Install everything
		lint		Lint the source code
		nothing		Do nothing; useful for debugging
		uninstall	Uninstall everything (might leave traces)

	To see the full list of targets, run:
		$ make -R -p nothing \
		| grep '^\.PHONY:' \
		| tr ' ' '\n' \
		| grep -v '^\.PHONY:' \
		| sort;

	To see a list of variables, run:
		$ find GNUmakefile share/mk/configure -type f \
		| sort \
		| xargs grep '^[^[:space:]].*=' \
		| sed 's/=.*/=/' \
		| grep -v -e ':DEFAULT_.*=' -e ':MAKEFILE_.*INCLUDED :=';

	To see a list of dependencies (package/program), run:
		$ find share/mk/configure/build-depends -type f \
		| sed 's,share/mk/configure/build-depends/,,' \
		| sed 's,\.mk,,' \
		| sort;
Looks good to me!
Thanks!  I've pushed a commit:
<https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/commit/?id=b67ac0da88ed90f767f89b8eadfae960b7c2230f>


Have a lovely day!
Alex

-- 
<https://www.alejandro-colomar.es/>

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help