COIN-OR::LEMON - Graph Library

Opened 15 years ago

Closed 15 years ago

#207 closed defect (fixed)

Cannot install with CMAKE if doc is not (e.g. cannot be) generated

Reported by: Alpar Juttner Owned by: Akos Ladanyi
Priority: major Milestone: LEMON 1.1 release
Component: build system Version: hg main
Keywords: Cc:
Revision id:

Description

For installing lemon using CMAKE, the doc must also be built.

If would be nice if

  • the install}} target depended on the {{{html target, so make install would automatically create it
  • the html target did nothing but created the html directory when Doxygen or Ghostscript is not available.

Change History (3)

comment:1 Changed 15 years ago by Alpar Juttner

A much easier and still satisfactory fall back solution can be if cmake simply creates an empty doc/html directory.

So, if (n)make html was run before (n)make install then it will install the doc otherwise it will install just an empty dir.

I even slightly prefer this solution.

comment:2 Changed 15 years ago by Alpar Juttner

Summary: Cannot install with CMAKE if doc not (e.g. cannot be) installedCannot install with CMAKE if doc is not (e.g. cannot be) generated

comment:3 in reply to:  1 Changed 15 years ago by Alpar Juttner

Resolution: fixed
Status: newclosed

Replying to alpar:

A much easier and still satisfactory fall back solution can be if cmake simply creates an empty doc/html directory.

So, if (n)make html was run before (n)make install then it will install the doc otherwise it will install just an empty dir.

This solution has gone to both the main and the 1.0 branches, see [8b56605db6a8].

Note: See TracTickets for help on using tickets.