Opened 16 years ago
Closed 16 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, somake install
would automatically create it - the
html
target did nothing but created thehtml
directory when Doxygen or Ghostscript is not available.
Change History (3)
comment:1 follow-up: 3 Changed 16 years ago by
comment:2 Changed 16 years ago by
Summary: | Cannot install with CMAKE if doc not (e.g. cannot be) installed → Cannot install with CMAKE if doc is not (e.g. cannot be) generated |
---|
comment:3 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
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.
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.