Re: Future plans for Autotools

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2021-01-25 at 13:27 -0700, John Calcote wrote:
> > To be honest if Automake-generated Makefile.in files only worked
> > for users with, say, sufficiently modern versions of GNU Make, I'm
> > not sure there would be any point in using Automake.
> 
> I'm not sure I see your point Nick. Why use Automake? Because I'd
> much rather write (and maintain) two lines of automake code than even
> a single page of GNU make code.

I agree that automake is still useful.  GNU make itself still uses
automake, even though it provides a separate shell script to build GNU
make for systems that don't have any make program and as such, it could
easily just say "if you don't have GNU make use the script, then you
have GNU make" rather than caring about a portable makefile.

But, automake provides a lot of really useful boilerplate and even more
importantly (to me) ensures that the make environment conforms to
various GNU standards, such as variables, targets, etc., for free.

You may note, if you check out the Git repo for GNU make, that there's
a separate makefile "maintMakefile" which contains maintainer-specific
stuff which is written for GNU make and would be very hard to write in
"portable" make, but that file is not included in the released source
package because it doesn't contain anything that non-maintainers need.





[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux