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