From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9802 invoked by alias); 24 Nov 2001 23:53:23 -0000 Mailing-List: contact insight-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 9691 invoked from network); 24 Nov 2001 23:52:05 -0000 To: Keith Seitz Cc: Insight Maling List Subject: Re: [RFC] Plugins: enhancements References: X-Zippy: HAIR TONICS, please!! X-Attribution: Tom Reply-To: tromey@redhat.com From: Tom Tromey Date: Fri, 05 Oct 2001 07:19:00 -0000 In-Reply-To: Keith Seitz's message of "Sat, 24 Nov 2001 14:07:28 -0800 (PST)" Message-ID: <87adxbbuak.fsf@creche.redhat.com> X-Mailer: Gnus v5.7/Emacs 20.5 X-SW-Source: 2001-q4/txt/msg00059.txt.bz2 >>>>> "Keith" == Keith Seitz writes: Keith> Using the following Makefile.in for rhabout, I can now Keith> successfully build and install the loadable module "rhabout": Keith> include ../Make-rules This syntax for `include' isn't portable. Automake has a macro to check for a few different include styles. (Note that you can't be guaranteed that there is any include directive, but such systems aren't worth worrying about, imnsho.) Keith> 2) The plugins are currently installed in Keith> INSTALLDIR/share/insight1.0/plugins. I agree that this must be changed. And I think your proposed spot for it is fine. The GNU coding standards are pretty clear on these points. Suppose I'm writing a third-party plugin. How will I find this directory to install my files? I ask because presumably the version number is in there anticipating that it will change someday. One solution would be to have some kind of script that prints out the relevant information. Tom From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Tromey To: Keith Seitz Cc: Insight Maling List Subject: Re: [RFC] Plugins: enhancements Date: Sat, 24 Nov 2001 15:53:00 -0000 Message-ID: <87adxbbuak.fsf@creche.redhat.com> References: X-SW-Source: 2001-q4/msg00360.html Message-ID: <20011124155300.1QijYZ_S5sPZ5VUgdyXyqJCfs_YKLblkLL5b1qK8T1s@z> >>>>> "Keith" == Keith Seitz writes: Keith> Using the following Makefile.in for rhabout, I can now Keith> successfully build and install the loadable module "rhabout": Keith> include ../Make-rules This syntax for `include' isn't portable. Automake has a macro to check for a few different include styles. (Note that you can't be guaranteed that there is any include directive, but such systems aren't worth worrying about, imnsho.) Keith> 2) The plugins are currently installed in Keith> INSTALLDIR/share/insight1.0/plugins. I agree that this must be changed. And I think your proposed spot for it is fine. The GNU coding standards are pretty clear on these points. Suppose I'm writing a third-party plugin. How will I find this directory to install my files? I ask because presumably the version number is in there anticipating that it will change someday. One solution would be to have some kind of script that prints out the relevant information. Tom