"Dale R. Worley" wrote: > > [This enhancement request is for Gnu make 3.79.1.] > > It would be a useful thing if Make variable names were forbidden to > contain slash (`/'), as well as `:', `#', and `='. The reason I make > this request is that I was rebuilding a Linux kernel in a directory > named (more or less) `/auto/LABEL=Backup/linux-2.4.20-24.8.test4'. > The Linux kernel makefile expands out the full path of the files it is > working with, rather than using relative names, so at one point, it > generated a Makefile rule looking something like this:
I currently use a macro __FILE__ that contains the filename of an included makefile (including the path). I then use this to create "namespace"-scoped variables (eg $(__FILE__).foo := bar). If votes mattered, I would vote "Nay" on this request. Are you able to "quote" these special characters such that they would be interpreted the way you'd like? Noel -- NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited. _______________________________________________ Bug-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-make