recent Makefile change
Hello, Just curious: Is there any technical reason for this recent change in the CVS version of CLN, or is that just for (non)readability? * Makefile.in: Convert from $(VAR) to ${VAR} syntax. * benchmarks/Makefile.in: Likewise. [...] Cheers, Ralf
Ralf Wildenhues wrote:
Just curious: Is there any technical reason for this recent change in the CVS version of CLN, or is that just for (non)readability?
* Makefile.in: Convert from $(VAR) to ${VAR} syntax. * benchmarks/Makefile.in: Likewise. [...]
No technical reason. Only readability and similarity with environments like bash, wordexp(3), etc. where one wants this distinction. The expansion of $(rm /) is quite distinct from that one of ${rm /}, there. I've embarked on a little holy war since when I actually ran into a related problem with command substitution. I believe it's evil to allow command substitution where it doesn't make sense. I hope there's no problem with this? -richy. -- Richard B. Kreckel <http://www.ginac.de/~kreckel/>
Hello Richard, * Richard B. Kreckel wrote on Wed, Sep 06, 2006 at 12:36:38AM CEST:
Ralf Wildenhues wrote:
Just curious: Is there any technical reason for this recent change in the CVS version of CLN, or is that just for (non)readability?
No technical reason. Only readability and similarity with environments like bash, wordexp(3), etc. where one wants this distinction.
OK, thanks.
The expansion of $(rm /) is quite distinct from that one of ${rm /}, there. I've embarked on a little holy war since when I actually ran into a related problem with command substitution. I believe it's evil to allow command substitution where it doesn't make sense.
Sure, but that's not within a makefile.
I hope there's no problem with this?
No. Cheers, Ralf
Hi Ralf, Ralf Wildenhues wrote:
The expansion of $(rm /) is quite distinct from that one of ${rm /}, there. I've embarked on a little holy war since when I actually ran into a related problem with command substitution. I believe it's evil to allow command substitution where it doesn't make sense.
Sure, but that's not within a makefile.
Sure, you know that and I know that. But novice hackers don't know that, and, under extreme conditions, get bitten by the problem. This is all just about style and conventions. Cheers -richy. -- Richard B. Kreckel <http://www.ginac.de/~kreckel/>
participants (2)
-
Ralf Wildenhues
-
Richard B. Kreckel