[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FYI: catch variable names starting with `_' (PR/291).
From: |
Alexandre Duret-Lutz |
Subject: |
Re: FYI: catch variable names starting with `_' (PR/291). |
Date: |
Tue, 09 Jul 2002 10:12:02 +0200 |
User-agent: |
Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386-debian-linux-gnu) |
>>> "Tom" == Tom Tromey <address@hidden> writes:
[...]
adl> Supporting these target portably probably require changes to the
adl> canonicalization rules (is this worth the trouble?).
Tom> I think it is. Someone out there will try to write a program with a
Tom> funny name. On my box there are already standard programs whose names
Tom> start with `4'. I wouldn't be surprised to find more eventually.
Presently, the _SOURCES variable for target `4th' is
`4th_SOURCES'. No leading underscore. This seems to comply
with POSIX rules to name Makefile variables.
The question is more about targets that don't start with an
alphanumeric character. This is probably less frequent, and
maybe it could be solved without changing the canonicalization
rules if we use one of these ideas:
http://sources.redhat.com/ml/automake/2002-04/msg00142.html
http://sources.redhat.com/ml/automake/2002-04/msg00145.html
--
Alexandre Duret-Lutz