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.7+dev X-Exmh-Isig-CompType: repl X-Exmh-Isig-Folder: inbox From: "karl AT aspodata DOT se [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com Mail-Followup-To: geda-user AT delorie DOT com Subject: Re: [geda-user] system wide config In-reply-to: References: <20210417120805 DOT 37DAA824EAA0 AT turkos DOT aspodata DOT se> <20210417144426 DOT E4238824EAA0 AT turkos DOT aspodata DOT se> Comments: In-reply-to "Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-user AT delorie DOT com]" message dated "Tue, 20 Apr 2021 01:46:20 +0300." Mime-Version: 1.0 Content-Type: text/plain Message-Id: <20210420004032.30A6980770A6@turkos.aspodata.se> Date: Tue, 20 Apr 2021 02:40:32 +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 Vladimir: ... > You could do 'ln -s ../sym' in each of the subdirs and then > the commands in gafrc for sub-pages were superfluous. Guess this is coming more and more offtopic, but one thing i did for makefiles, is having just one link in each dir (where it matters) and in the Makefile have: INC := $(shell readlink -f Makefile | sed -e 's/\/Makefile//' ) TOP := $(shell dirname $(INC)) BIN := $(TOP)/bin/ then I can include/run something from common places like include $(INC)/Make_post.mk %.small.sym: %.sym $(BIN)scale_sym.pl 0.5 $< > $@ I guess something similar is possible in guile also. Regards, /Karl Hammar