Re: share directory

 > Well, the default paths that autoconf comes up with never made much sense
 > to me.  In this particular case, it seems like we would want to install
 > the docs into something like ${datadir}/doc/comedilib and the usb firmware
 > into ${datadir}/usb.  When configuring for a debian package, datadir would
 > be set to /usr/share (or the prefix to /usr which seems mostly right
 > except for the sysconfdir).
Makes perfectly sense. I'll set up a variable for the docpath like:
doccomedilibdir="\${datadir}/doc/comedilib"
AC_SUBST(doccomedilibdir)
and adjust the Makefile.am in the subdirs. This should solve the problem.

/Bernd



www:    http://www.berndporr.me.uk/
         http://www.linux-usb-daq.co.uk/
Mobile: +44 (0)7840 340069
Work:   +44 (0)141 330 5237
         University of Glasgow
         Department of Electronics & Electrical Engineering
         Room 519, Rankine Building, Oakfield Avenue,
         Glasgow, G12 8LT


Frank Mori Hess wrote:
> On Sunday 29 May 2005 09:17 pm, Bernd Porr wrote:
> 
>>To detangle the data directory I suggest the following:
>>
>>configure.ac:
>>
>>#place all shared stuff in here
>>sharedcomedidir="\${datadir}/libcomedi0"
>>AC_SUBST(sharedcomedidir)
>>
>>
> 
> 
> Well, the default paths that autoconf comes up with never made much sense 
> to me.  In this particular case, it seems like we would want to install 
> the docs into something like ${datadir}/doc/comedilib and the usb firmware 
> into ${datadir}/usb.  When configuring for a debian package, datadir would 
> be set to /usr/share (or the prefix to /usr which seems mostly right 
> except for the sysconfdir).
> 

Received on 2005-06-01Z06:58:30