[EMBOSS] RootDirectory and BaseDirectory hardcoded at build time ?

Peter Rice pmr at ebi.ac.uk
Fri Feb 20 16:16:51 UTC 2009


George Magklaras wrote:
> In the Makefile, shouldn't they be a:
> 
> AJAX_FIXED_ROOT  directive?
> 
> I am not exactly familiar with the Debian package process, but at my 
> (manually built) leftovers from the sources, I did a:
> georgie at slartibartfast# fgrep -i root config.log
> ...
> AJAX_FIXED_ROOT='\"/site/sources/EMBOSS-6.0.1/emboss\"'
> datadir='${datarootdir}'
> datarootdir='${prefix}/share'
> docdir='${datarootdir}/doc/${PACKAGE}'
> infodir='${datarootdir}/info'
> localedir='${datarootdir}/locale'
> mandir='${datarootdir}/man'
> ......
> 
> and the location was passed by configure with the --prefix switch. Does 
> the Debian package dist specify a location that way?

AJAX_FIXED_ROOT is originally defined in configure.in in the top level 
directory.

> #dnl Define where the EMBOSS package is located
> AC_SUBST(AJAX_FIXED_ROOT)
> AJAX_FIXED_ROOT="\\\"`pwd`/emboss\\\""
> AC_SUBST(EMBOSS_TOP)
> EMBOSS_TOP=`pwd`

The values then are used to build ./configure and get copied to 
config.log when it runs.
Peter

P.S. I liked the "georgie at slartibartfast" :-)





More information about the EMBOSS mailing list