• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

is there a "help" section for Makefiles ?

chronodekar

Senior member
When installing from source, I usually follow this procedure,
Code:
./configure
make
make install
At times when I want to customize I run,
Code:
./configure --help
to figure out what I want. It gives a list of all the options the current "configure" supports.

Does anyone have any idea if there is such a thing for Makefiles?

This is useless,
Code:
make --help
All it does is give me help information about the "make" utility. Not what I'm looking for.

Why I ask, is because, when I was browsing through one of the Makefiles, I discovered a few extra options (other than the default "all:" ) that would let me just build only the parts I wanted. The sad thing is, I didn't know of this from reading either the README or INSTALL files. Is there some convention that might be followed ?

-chronodekar
 
As far as I know there is no convention that is followed, though you could try using 'help' as a target:

$ make help

I have seen some people implement that. I don't know what parts you would want to build that aren't in 'all', usually this is achieved with the configure script, by only adding --with-xyz for the features you want/need.
 
Sometimes the best approach is just to look inside the configure script and/or the Makefile, and suffer through figuring out what the heck is going on.
 
Back
Top