gnetlist: makedepend backend
commit9538145da79933763ed79eae6869f92d467e10d0
authorDan White <dan@whiteaudio.com>
Sat, 28 May 2011 14:50:41 +0000 (28 09:50 -0500)
committerPeter TB Brett <peter@peter-b.co.uk>
Fri, 10 Jun 2011 09:32:37 +0000 (10 10:32 +0100)
tree9d240f714d13f550a9bfe80ece64d557dd58f2f8
parent220ecbd09393ae0d8cc43d26cfe7c8427888c744
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>
gnetlist/scheme/Makefile.am
gnetlist/scheme/gnet-makedepend.scm [new file with mode: 0644]