Running under GNUmake 3.81.
In order to produce the dependency chart, function output_dependency_graph
needs the filename of the Makefile, in order to extract the DOT source.
It uses the line:
this_file := $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))
This should be re-written simpler as
this_file := $(lastword $(MAKEFILE_LIST))
But at this point, the lastword in the Makefile inclusion is actually
"Variables.ini" and not "Makefile".
FIX:
Since the commented graph source will most probably be in the top-level
makefile, the assignment should be:
this_file := $(firstword $(MAKEFILE_LIST))
Original issue reported on code.google.com by zvr.webm...@googlemail.com on 7 Jun 2011 at 6:28
Original issue reported on code.google.com by
zvr.webm...@googlemail.com
on 7 Jun 2011 at 6:28