bug-gnulib
[Top][All Lists]
Advanced

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

Re: underscore vs. hyphen


From: Jim Meyering
Subject: Re: underscore vs. hyphen
Date: Thu, 03 Dec 2009 18:56:55 +0100

Alfred M. Szmidt wrote:
> What should be used in variable names for maint.mk, a hyphen, or
> underscore?  Some variables use underscore, and some use
> hyphens... Which is very confusing.

I prefer to use hyphens, when possible (GNU make only),
but obviously that is not portable to all Make programs.
So, when I remember that maint.mk is used only if/when GNU Make
is available, I tend to use hyphen -- assuming it's used only in that
file, and not used in any Makefile.am.  I suspect that some pieces of
that file migrated from Makefile.am, where portability dictated
the use of underscores.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]