I have an idea for something --debug=all won't tell the user.

Have a command that reads in a makefile and outputs the makefile saying
what each part evaluated to.

I.e., what
(info "(make) Parsing Makefiles")
(info "(make) Makefile Contents")
think.

That way the user wouldn't need to ask around what the last three lines of

$ tail -n 5 Makefile | cat -t
targets.pid.csv:; perl -MPointId2Address -we 
'PointId2Address::section_pid_strip_p($k,1);' $C
targets.adr.csv:targets.pid.csv
        perl -F, -MPointId2Address -anlwe \
        '@K=PointId2Address::id2addr_raw$(\
        )({$(Grid),target=>{id=>$$F[0]}}); print qq(@K @F[0,1])' $<

are interpreted as. They lack initial tabs, or initial #'s, so maybe
they are simply illegal immigrants that have slipped under Make's radar.

It would be great if the user could do
$ tail -n 5 Makefile | make --show-interpretation
and it would say what they are treated as.

Reply via email to