[Xapian-discuss] debs missing query templates

Richard Boulton richard at tartarus.org
Tue Nov 23 14:15:34 GMT 2004

On Mon, 2004-11-22 at 13:12 +0000, Sam Liddicott wrote:
> I notice that the debian omega package does not install any of the query 
> templates that normally go in /var/lib/omega/
> The build process is not putting them in debian/tmp

This is true.  The debian packages for omega (and also for bindings) are
still rather skeletal - they basically include things I've had some need
for, or which were particularly easy to package.

In order to make the debian package do something with the standard
templates, we should modify the Makefile.am such that the templates (and
the images) get installed to some reasonable default location.  Then, we
need to add lines to debian/xapian-omega.install to specify where the
files should be installed to by the debian package system.

Olly, James - have you any opinion on where the templates and images for
omega should be installed by default?  Or, is there a good reason that
we should never install them by default?  (If so, we could make them be
installed by a special target which the debian build invokes.)

If we don't change the Makefile.am to install the templates and images,
it is a little harder to make the debian package build correctly, but
it's not an insurmountable problem.

We also need to add the documentation to the omega package, really, and
make man-pages for things, so there's some work to be done here.

> The only makefile target that would do anything with these is "distdir" 
> which works on DISTFILES which includes EXTRA_DIST which includes the 
> templates and percentage gifs.
> I tried adding distdir as a target along with "install" in the install 
> section of the rules file, but nothing extra seemed to appear in debian/tmp

No, distdir will make a distribution directory, rather than install to
the directory specified by the $DESTDIR variable, so they won't get put
in debian/tmp.  This isn't the right approach to the problem - the
Makefile.am needs to be modified to support installing the templates and
images (and documentation) to some location.

Richard Boulton <richard at tartarus.org>

More information about the Xapian-discuss mailing list