Apache OpenOffice (AOO) Bugzilla – Issue 70027
Filename and line missing if makefile error is on last line
Last modified: 2013-08-07 15:34:52 UTC
Try the following example: --- makefile.mk --- SHELL*:=/bin/sh SHELLFLAGS*:=-ce all : +echo allA all : +echo allB --- makefile.mk --- You will get: dmake: Error: -- Multiply defined recipe for target all Add another target at the end and the error message will be a lot more usefull: dmake: t_errorline.mk: line 10: Error: -- Multiply defined recipe for target all Fix: In Parse() move the Closefile() behind the Bind_rules_to_targets().
Already committed (with testcase) to dmake47.
Please verify.
.
seen in MWS