On 02/07/2013 10:52 AM, Miles Bader wrote: >>> ... and "canon_reldir" means the same thing, except canonicalized? >>> >> Yes, "canonicalized" in a sense quite specific to Automake: >> >> >> <http://www.gnu.org/software/automake/manual/automake.html#Canonicalization> >> >> So, for example, if %reldir% expands to 'foo/bar-baz.d', '%canon-reldir%' >> will expand to 'foo_bar_baz_d'. > > Hmm, if that's the case, then I think "canon" is the wrong term to > use, as it typically implies that the result is still in the same > domain as the input. > Suggestions for a better name then?
> This operation seems to be more what one might > call "sanitizing"... > > [Even if automake uses this term internally, I still think it would be > confusing to expose such unusual usage to the user.] > Actually, automake uses the term in the manual as well, repeatedly. Regards, Stefano > -miles >