]> git.tuebingen.mpg.de Git - lopsub.git/commit
build: Activate .DELETE_ON_ERROR.
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 25 Apr 2021 22:17:37 +0000 (00:17 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Wed, 28 Apr 2021 21:15:33 +0000 (23:15 +0200)
commitc1840c5bb555ba09c09bdeb2f29305681038317f
tree89384791194202a4d304f128dd4d9e4fd0c089f0
parent7623e601612eb36cf86511b40fef3f5a20e8b834
build: Activate .DELETE_ON_ERROR.

Since m4 lacks the -o option to specify an output file, we redirect
stdout in several recipes, in particular in the recipe that creates
lopsub.h from lopsub.h.m4. If the m4 command fails, lopsub.h will
be incomplete or empty, yet it will be considered as up-to-date
by make(1).

This patch teaches make(1) to remove such incomplete output files
on errors.
Makefile