gnetlist: makedepend backend
Gnetlist backend to determine a schematic's dependencies. Output
is in the form of:
source.sch: depend1.sch depend2.sch
source.cir: source.sch depend1.cir depend2.cir other.inc
...written to "source.d" file for inclusion into a project's
Makefile.
First line collects all source= attributes in the input pages. Second
line lists transformed source='s/sch/cir/' and file= attributes
(.include files).
Affects-bug: lp-698740
Reviewed-by: Peter TB Brett <peter@peter-b.co.uk>