The makefile generator has an option to automatically do the slash replacement for you. In the interest of readability, I recommend using that and removing @slash@ from the .in files. (Do make sure if you change other .in files that they have this option enabled. Example from config/gen/makefiles.pm:

    genfile(
        'config/gen/makefiles/root.in' => 'Makefile',
        commentType                    => '#',
        replace_slashes                => 1,
        conditioned_lines              => 1
    );

On Apr 14, 2006, at 3:35 PM, chromatic wrote:

Looking at patch #12967, particle revised a previous patch and replace @slash@ with / in paths in the Makefile. I used the former out of a cargo- cult sense of platform independence. Is that unnecessary, or is it still a good idea?

-- c


Reply via email to