Al-Baraa El-Hag
Al-Baraa El-Hag

Reputation: 871

How to find the man page for makefiles?

I'm looking for the man pages of the makefile, and not the man pages of the make program.

The latter, I can find and read its man pages easily by running man make. But for the former, I cannot find any man pages on how to actually write a makefile. I've run apropos make on my Linux machine (Ubuntu) and I didn't find any reference to a man page for the actual makefiles.

Upvotes: 1

Views: 246

Answers (2)

tink
tink

Reputation: 15204

Try apt install make-doc

Followed by info make

Upvotes: 1

Donut
Donut

Reputation: 112815

Have you seen this site? It is extremely comprehensive, and the majority of the chapters are concerned with makefiles (rules, variables, functions, conventions, etc.) as opposed to make itself.

Upvotes: 3

Related Questions