Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allow install to complete even if no prebuilt man pages are available
If pandoc and rst2man are available, they are used to create man page sources. If not, then the build looks for prebuilt man pages in ${CMAKE_SOURCE_DIR}/buildlib/pandoc-prebuilt. If that directory is not present (e.g. because you are compiling from a fresh checkout of master from github), then rdma-core will compile fine but the "make install" operation will fail. This patch adds a new cmake cache variable NO_MAN_PAGES (default=0). If set, it disables man page processing and allows "make install" to succeed (without man pages) when neither pandoc/rst2man nor pandoc-prebuilt are present. Signed-off-by: Chuck Cranor <chuck@ece.cmu.edu>
- Loading branch information
1 parent
e8a955e
commit 7de7246
Showing
1 changed file
with
34 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters