[Xapian-devel] Re: [Xapian-commits] Changes in xapian/xapian-core/

Olly Betts olly at survex.com
Thu May 20 16:19:39 BST 2004


On Thu, May 20, 2004 at 03:48:17PM +0100, Richard Boulton wrote:
> Er - there isn't a debian/Makefile.in, and debian/control.in is 
> generated by debian/rules.

Ah, I've misunderstood what you'd done.  I'd assumed that you'd added
debian to DIST_SUBDIRS and had debian/Makefile.am (so debian/Makefile.in
needs to be in AC_OUTPUT) with EXTRA_DIST in.

> Surely I'd only need to add them to configure.in if I'm planning to add 
> debian package generation to the standard build process?  What I was 
> thinking was that if someone wanted to build a debian package from the 
> tarball they would do:
> 
>  - unpack tarball, and enter the unpacked directory.
>  - run "debian/rules" to generate debian/control, and other files
>    in the debian directory.
>  - run "fakeroot dpkg-buildpackages" to build the packages.

Oh, I see.  And debian/rules default action is to make the generated
files.  Annoyingly that means another place to update the shared library
version info, but it's only the major version so I guess I can live with
that.  And I can remove one place now that libxapian and
libxapianqueryparser are both going to have the same version.

Cheers,
    Olly




More information about the Xapian-devel mailing list