Add conditional CMake configuration to create doc/makenl.html from doc/makenl.txt if AsciiDoc is present on the build system. If doc/makenl.html is created, add it to the set of documentation files being installed. This will duplicate the functionality present in the existing doc/Makefile.
Ticket moved from /p/makenl/feature-requests/7/
Diff:
Diff:
Sounds like a good idea. I'm not sure how to do conditional builds with CMake though.
It's not so much a "conditional build" as it is a "do these steps if this particular program is available on the system" kind of thing...
I've found some possible example ways of doing this but so far not something standard that could be just included or otherwise referenced. So may need to add it directly to, for instance, the existing docs/CMakeList.txt.