Re: make -t and directories

2023-03-11 Thread Dmitry Goncharov
On Fri, Mar 10, 2023 at 7:55 PM Alejandro Colomar wrote: > How about using `mkdir -p` instead of touch(1) for nonexistent files? mkdir -p would create a directory where a file is supposed to be. Let's say you have hello.c, but no hello.o.If you run make -t it'll create an empty hello.o. Then you

Re: make -t and directories

2023-03-11 Thread Alejandro Colomar
Hi Dmitry, On 3/11/23 14:36, Dmitry Goncharov wrote: > On Fri, Mar 10, 2023 at 7:55 PM Alejandro Colomar > wrote: >> How about using `mkdir -p` instead of touch(1) for nonexistent files? > > mkdir -p would create a directory where a file is supposed to be. > Let's say you have hello.c, but no he

Re: make -t and directories

2023-03-11 Thread Paul Smith
On Sat, 2023-03-11 at 01:54 +0100, Alejandro Colomar wrote: > Let's say I have a build tree that has directories which are created > during build.  The build system has some linters in a `lint` target, > which touches files when it succeeds.  When I want to lint only a > specific file, it's interes

Re: make -t and directories

2023-03-11 Thread Alejandro Colomar
Hi Paul, On 3/11/23 15:20, Paul Smith wrote: > On Sat, 2023-03-11 at 01:54 +0100, Alejandro Colomar wrote: >> Let's say I have a build tree that has directories which are created >> during build.  The build system has some linters in a `lint` target, >> which touches files when it succeeds.  When

[bug #51200] Improvement suggestion: listen to signals to adjust number of jobs

2023-03-11 Thread Henrik Carlqvist
Follow-up Comment #2, bug #51200 (project make): The latest version of the patch (signal_num_jobs5.patch) no longer immediately increases or decreases the number of jobs when signals USR2 or USR1 are received, instead, for signal safety, the number of running jobs will be adjusted when a job is fi

Re: Regression on Cygwin: Problems with parallel make in 4.4

2023-03-11 Thread Ken Brown
On 3/2/2023 5:39 PM, Ken Brown wrote: I'm returning to this thread because a surprising thing happened.  I decided to try to debug the fifo problem I reported at the beginning of the thread (a hang building TeX Live on Cygwin when the jobserver used a fifo).  So I installed make 4.4.1 built wit

[bug #60811] Add long-form aliases for automatic variables

2023-03-11 Thread Gwyneth Morgan
Follow-up Comment #3, bug #60811 (project make): Will this patch be considered? This would simplify writing understandable Makefiles that work across implementations. If long-form aliases like this are unwanted, adding $> as an alias to $^ would work as well. [comment #0 original submission:] >