Parallel Build, but Not for the Command-Line Targets.

2014-08-23 Thread Ralph Corderoy
Hi, I find it odd that -j breaks the idiomatic `make clean all check install'. Consider $ cat makefile #! /usr/bin/make -f SHELL = /bin/bash all: sleep 0.$$((RANDOM % 10)) echo all clean:: sleep 0.$$((RANDOM % 10)) echo clean check::

Re: POSIX ruling on up-to-date vs. identical timestamps

2014-08-23 Thread Paul Smith
On Thu, 2014-08-21 at 13:57 -0700, Paul Eggert wrote: David Boyce wrote: The obvious compromise would be to change the behavior only in the presence of the .POSIX: special target. We should limit .POSIX to what POSIX requires. Even if the ruling stands POSIX won't require the HP-UX

Re: POSIX ruling on up-to-date vs. identical timestamps

2014-08-23 Thread Paul Eggert
Paul Smith wrote: It needs to be considered carefully. How about having GNU 'make' do what GNU 'cp -u' does? The idea is to infer filesystem timestamp resolution by looking at every file timestamp that crosses your desk. When you see a file timestamp whose tv_nsec is nonzero modulo