At my company, I am currently working on creating a Debian package debfrom a third-party library. The library is built using Autotools. I had never worked with Autotools before, and it was hard for me. Library sources contain files configure.inand Makefile.amand m4/. I can build the library using the following sequence:
aclocal -I m4 -I /usr/share/aclocal
autoheader
libtoolize --automake
automake -a
autoconf
./configure
make
In the file, debian/rulesI would like to use CDBS. I wrote this:
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
But that will not work. He complains that the file is missing configure. And that's right, because the Autotools class expects this file to be present. But this is not so, and someone needs to call autoconffriends first!
Why doesn't the Autotools CDOS class allow me to call autoconffriends? How to get around it?
:
, , .
, , , .
, / configure script , , , .
? , CDOS Autotools - , configure , . ?
, configure , - , . , CDOS Autotools , .
:
- AutoCools CDBS, ?
configure? ( Debian.)