On Wed, Aug 03, 2005 at 04:48:28PM +0200, Ralf Wildenhues wrote: > Hi Adrian,
Hi Ralf, >... > [ secondbin_PROGRAMS gets installed through install-data, not install-exec ] > *snip* > > automake knows that secondbin_PROGRAMS contains programs, and it should > > therefore call the install target from install-exec-am. > > I'm not really sure how Automake /should/ behave (and I would have > expected the same thing you have), but it does behave according to > its documentation. Quoting 'info Automake Install': > > | Variables using the standard directory prefixes `data', `info', > | `man', `include', `oldinclude', `pkgdata', or `pkginclude' (e.g. > | `data_DATA') are installed by `install-data'. > | > | Variables using the standard directory prefixes `bin', `sbin', > | `libexec', `sysconf', `localstate', `lib', or `pkglib' (e.g. > | `bin_PROGRAMS') are installed by `install-exec'. > | > | Any variable using a user-defined directory prefix with `exec' in > | the name (e.g. `myexecbin_PROGRAMS') is installed by `install-exec'. > | All other user-defined prefixes are installed by `install-data'. > > So, try `secondexecbindir' as variable name instead. :) ah thanks, I missed this part of the documentation. I'd still prefer this derived from the primary instead from a magical string in the prefix, but this is then a feature request and not a bug. > Cheers, > Ralf cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed