Robert Shearman rob@codeweavers.com writes:
I've also modified tools/makerule to respect the "-s" flag passed into make.
Alexandre suggested on IRC that I always print the destination file, but I want to make sure that the technical details of this patch are acceptable before making tweaks to the printed commands.
I've been thinking about this some more, and I don't think I'll put it in. It's going to cause a lot of trouble and portability headaches, for only a minor cosmetic gain.
This thing really belongs in make itself; it shouldn't be hard to patch GNU make to have a mode where it only displays the command name and target instead of the whole command line. Then it would work for all projects, and wouldn't require adding complexity to the makefiles.
Alexandre Julliard wrote:
I've been thinking about this some more, and I don't think I'll put it in. It's going to cause a lot of trouble and portability headaches, for only a minor cosmetic gain.
I don't see how. It doesn't change the portability with other versions of make, and although I'm not an expert on shell programmings, I don't think I used an non-portable constructs there.
Robert Shearman rob@codeweavers.com writes:
I don't see how. It doesn't change the portability with other versions of make, and although I'm not an expert on shell programmings, I don't think I used an non-portable constructs there.
The MAKEFLAGS hack is certainly non portable, and won't behave right on other makes. Using a shell script will also cause trouble on Windows. The extra shell evaluation will also require some extra quoting, that may be tricky to get right. It's really a lot of trouble...
Alexandre Julliard wrote:
Robert Shearman rob@codeweavers.com writes:
I don't see how. It doesn't change the portability with other versions of make, and although I'm not an expert on shell programmings, I don't think I used an non-portable constructs there.
The MAKEFLAGS hack is certainly non portable, and won't behave right on other makes. Using a shell script will also cause trouble on Windows. The extra shell evaluation will also require some extra quoting, that may be tricky to get right. It's really a lot of trouble...
I'm guessing you still believe this is the case, even with my latest patch.
Robert Shearman rob@codeweavers.com writes:
Alexandre Julliard wrote:
The MAKEFLAGS hack is certainly non portable, and won't behave right on other makes. Using a shell script will also cause trouble on Windows. The extra shell evaluation will also require some extra quoting, that may be tricky to get right. It's really a lot of trouble...
I'm guessing you still believe this is the case, even with my latest patch.
Well, the quoting is fixed, but the rest isn't...