- From: Bernd Porr <BerndPorr_at_f2s.com>
- Date: Mon, 30 May 2005 02:17:11 +0100
To detangle the data directory I suggest the following:
configure.ac:
#place all shared stuff in here
sharedcomedidir="\${datadir}/libcomedi0"
AC_SUBST(sharedcomedidir)
For example, in etc:
sharedcomedi_SCRIPTS = das1600.conf dt282x.conf modules.conf
EXTRA_DIST = das1600.conf dt282x.conf modules.conf
Or in doc the Makefile.am:
install_html:
$(INSTALL) -d $(sharedcomedidir)/html
for each in $(srcdir)/doc_html/*.html $(srcdir)/*.gif ; do \
$(INSTALL_DATA) $$each $(sharedcomedidir)/html ; done
Thus, we declare a new variable sharedcomedidir which points to a
directory /usr/[local]/share/libcomedi0.
This allows to have datadir again /usr/share and no longer
/usr/share/doc/libcomedi.
Should I give it a go in the CVS? I've tested it with the release
version of comedilib because I didn't get the so library to vers 0.7.22.
/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
Received on 2005-05-30Z00:17:11