Re: [PATCH] Makefile: Use standard features (IMPORTANT: default prefix changed)
From: Alejandro Colomar (man-pages) <hidden>
Date: 2021-05-10 07:13:24
From: Alejandro Colomar (man-pages) <hidden>
Date: 2021-05-10 07:13:24
Hi Michael, On 5/10/21 1:39 AM, Michael Kerrisk (man-pages) wrote:
quoted
- Specify shebangWhy? It's not quite obvious to me, and the commit message should really explain...
Hmmm. I have some minor reasons to add it, but not a really good one. * Some editors don't recognize 'Makefile' as a special name, so the shebang helps detecting which language the file is using (e.g., for coloring). * I tend to subdivide a big Makefile into a small Makefile and many submakefiles stored in <./libexec/>. Those obviously need different names, and given that the makefile extension is not very standard (I use .mk), having a shebang helps knowing what the file is. After that, I also have it on the main Makefile for consistency. But here we only have one Makefile, so it doesn apply very much. And some similar reasons. Thanks, Alex -- Alejandro Colomar Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/ http://www.alejandro-colomar.es/