forked from pfqgauxfb/code-analysis
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
363 B
7 lines
363 B
if (BUILD_MANPAGE)
|
|
find_program(XSLTPROC NAMES xsltproc REQUIRED)
|
|
set(DB2MAN "/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl")
|
|
set(MAN_SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/cppcheck.1.xml")
|
|
add_custom_target(man ${XSLTPROC} --nonet --param man.charmap.use.subset "0" ${DB2MAN} ${MAN_SOURCE}
|
|
DEPENDS ${MAN_SOURCE})
|
|
endif() |