X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.6 X-Exmh-Isig-CompType: repl X-Exmh-Isig-Folder: inbox From: karl AT aspodata DOT se To: geda-user AT delorie DOT com Subject: Re: Project file (was Re: [geda-user] gschem multiple pages) --> dep finding In-reply-to: <20180724161712.f0082dda1044e41179fa82f0@gmail.com> References: <20180723152807 DOT 13d27cadcd023b63aa3fd9c0 AT gmail DOT com> <20180723174658 DOT 32979841DEBA AT turkos DOT aspodata DOT se> <20180723195942 DOT 605CB841DEBA AT turkos DOT aspodata DOT se> <20180724132731 DOT 76074841DEBC AT turkos DOT aspodata DOT se> <20180724161712 DOT f0082dda1044e41179fa82f0 AT gmail DOT com> Comments: In-reply-to "Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com]" message dated "Tue, 24 Jul 2018 16:17:12 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Message-Id: <20180724145644.122BA841DEC5@turkos.aspodata.se> Date: Tue, 24 Jul 2018 16:56:44 +0200 (CEST) X-Virus-Scanned: ClamAV using ClamSMTP Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Nicklas: > Karl: > > ... > > Also, however many src files there are in "this" directory and down, > > I can run a dep-finding program. The top files are thoose that no other > > references. Do I really have to write this down myself, I'd rather > > write a dependancy-finding program than to have to enter file names > > into configs. > > Yes depency finding is good for two problems. > > Depency is given by references to lower level schematics via the > "source" attribute and there are also depencies to the symbols > although symbols may also have a local "embedded" copy. Yes, didn't think about the embedded copy... > If these are in config file there must be a mechanism to get the > depencies there. ... It is usually done by typing or clicking, but there are also programs for that. > A depency-finding program may also be useful to figure out there > symbols and schematics are used. ... If you are adventourous you can try: http://aspodata.se/git/openhw/bin/examine_sch.pl it isn't able to read gafrc files so you have to edit the source to set the subpage and symbol directories. Regards, /Karl Hammar ----------------------------------------------------------------------- Aspö Data Lilla Aspö 148 S-742 94 Östhammar Sweden