Skip to content

Commit

Permalink
[devel/jrl-cmakemodules] doc → nodoc
Browse files Browse the repository at this point in the history
  • Loading branch information
nim65s committed Nov 14, 2019
1 parent a1da6d1 commit 3630a4c
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions devel/jrl-cmakemodules/Makefile.common
Expand Up @@ -55,20 +55,17 @@ ifdef USE_PYTHON
endif

# option for doxygen documentation
PKG_SUGGESTED_OPTIONS+= doc
PKG_SUPPORTED_OPTIONS+= doc
PKG_OPTION_DESCR.doc= Enable documentation generation and installation
define PKG_OPTION_SET.doc
BUILD_TARGET+= doc
PKG_SUPPORTED_OPTIONS+= nodoc
PKG_OPTION_DESCR.nodoc= Disable documentation generation and installation
define PKG_OPTION_UNSET.nodoc
BUILD_TARGET+= nodoc
CMAKE_ARGS+= -DINSTALL_DOCUMENTATION=TRUE
DYNAMIC_PLIST_DIRS+= share/doc/${NAME}

include ../../mk/sysdep/doxygen.mk
include ../../mk/sysdep/latex.mk
endef
PKG_OPTION_UNSET.doc= CMAKE_ARGS+= -DINSTALL_DOCUMENTATION=FALSE

DYNAMIC_PLIST_DIRS+= share/doc/${NAME}
PKG_OPTION_SET.nodoc= CMAKE_ARGS+= -DINSTALL_DOCUMENTATION=FALSE

include ../../pkgtools/pkg-config/depend.mk
include ../../mk/sysdep/cmake.mk

0 comments on commit 3630a4c

Please sign in to comment.