Opened 7 years ago

Closed 7 years ago

#658 closed defect (fixed)

Allow builds with disabled documentation

Reported by: German M. Bravo Owned by: Olly Betts
Priority: normal Milestone: 1.3.3
Component: Build system Version:
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Operating System: All


When using disabled documentation (--disable-documentation), building and installing (make install): xapian-core installs fine but xapian-bindings (I tried python) don't (missing docs/html).

Making distributions (make dist) with disabled documentation should work, but in the process there are many details which make it not: during the build, xapian-core compiles and produces a tar.xz file; the xapian-bindings doesn't... after some tweaking adding "fake" docs/html directories and index.html files, it does produce a tar.xz file; however, during the building from the produced tar.xz files, even the xapian-core ends with errors about missing files.

Change History (3)

comment:1 by Olly Betts, 7 years ago

We explicitly do NOT support make dist if you disable documentation - see xapian-core/docs/

# Note: we don't want dist tarballs built with docs missing, so for simplicity
# this blindly assumes the tools are in place when "make dist" is
# being run.  For "make all", "make check", etc we carefully skip any docs
# which we don't have the tools to generate.

Most other operations (including make install) should work though - it sounds like a problem with the recent changes to use sphinx to build the python docs.

Can you attach a build log?

comment:2 by Olly Betts, 7 years ago

Milestone: 1.3.3

comment:3 by Olly Betts, 7 years ago

Resolution: fixed
Status: newclosed
Summary: Allow builds with dsiabled documentationAllow builds with disabled documentation

[f155d11] fixes make, and also make install for most languages; [d2974fb] fixes make install for python and python3.

Note: See TracTickets for help on using tickets.