1 1.1 rillig # $NetBSD: jobs-empty-commands-error.mk,v 1.1 2021/06/16 09:39:48 rillig Exp $ 2 1.1 rillig # 3 1.1 rillig # In jobs mode, the shell commands for creating a target are written to a 4 1.1 rillig # temporary file first, which is then run by the shell. In chains of 5 1.1 rillig # dependencies, these files would end up empty. Since job.c 1.399 from 6 1.1 rillig # 2021-01-29, these empty files are no longer created. 7 1.1 rillig # 8 1.1 rillig # After 2021-01-29, before job.c 1.435 2021-06-16, targets that could not be 9 1.1 rillig # made led to longer error messages than necessary. 10 1.1 rillig 11 1.1 rillig .MAKEFLAGS: -j1 12 1.1 rillig 13 1.1 rillig all: existing-target 14 1.1 rillig 15 1.1 rillig existing-target: 16 1.1 rillig : 'Making $@ out of nothing.' 17 1.1 rillig 18 1.1 rillig all: nonexistent-target 19 1.1 rillig : 'Not reached' 20