Opened 17 years ago
Closed 17 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 {{{htmltarget, somake installwould automatically create it - the
htmltarget did nothing but created thehtmldirectory when Doxygen or Ghostscript is not available.
Change History (3)
comment:1 follow-up: 3 Changed 17 years ago by
comment:2 Changed 17 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 17 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/htmldirectory.So, if
(n)make htmlwas run before(n)make installthen 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/htmldirectory.So, if
(n)make htmlwas run before(n)make installthen it will install the doc otherwise it will install just an empty dir.I even slightly prefer this solution.