summaryrefslogtreecommitdiffstats
path: root/base/util
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-03-23 10:44:33 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2012-03-26 12:54:21 -0500
commit78378144e71a00a67690a1f99152402c892b0103 (patch)
treead4a0fb27d54d0b5da4adfe6b9626cab7a939c69 /base/util
parent621d9e5c413e561293d7484b93882d985b3fe15f (diff)
downloadpki-78378144e71a00a67690a1f99152402c892b0103.tar.gz
pki-78378144e71a00a67690a1f99152402c892b0103.tar.xz
pki-78378144e71a00a67690a1f99152402c892b0103.zip
Added option to build without Javadoc.
The build scripts have been modified to provide an option to build without Javadoc to speed up development builds. The option can be used as follows: compose_pki_core_packages --without-javadoc hybrid_rpms Ticket #111
Diffstat (limited to 'base/util')
-rw-r--r--base/util/src/CMakeLists.txt43
1 files changed, 22 insertions, 21 deletions
diff --git a/base/util/src/CMakeLists.txt b/base/util/src/CMakeLists.txt
index 592e3b59b..f0c586ad6 100644
--- a/base/util/src/CMakeLists.txt
+++ b/base/util/src/CMakeLists.txt
@@ -346,24 +346,25 @@ add_dependencies(pki-cmsutil pki-nsutil)
install_jar(pki-cmsutil ${JAVA_JAR_INSTALL_DIR}/pki)
set(PKI_CMSUTIL_JAR ${pki-cmsutil_JAR_FILE} CACHE INTERNAL "pki-cmsutil jar file")
-create_javadoc(pki-util-${APPLICATION_VERSION}
- PACKAGES com.netscape.cmsutil.crypto
- com.netscape.cmsutil.http
- com.netscape.cmsutil.ldap
- com.netscape.cmsutil.net
- com.netscape.cmsutil.ocsp
- com.netscape.cmsutil.password
- com.netscape.cmsutil.radius
- com.netscape.cmsutil.scep
- com.netscape.cmsutil.util
- com.netscape.cmsutil.xml
- SOURCEPATH ${CMAKE_CURRENT_SOURCE_DIR}
- CLASSPATH ${CMAKE_JAVA_INCLUDE_PATH}
- WINDOWTITLE "pki-util"
- WINDOWTITLE "pki-util"
- DOCTITLE "<h1>dogtag</h1>"
- AUTHOR TRUE
- USE TRUE
- VERSION TRUE
-)
-add_dependencies(pki-util-${APPLICATION_VERSION}_javadoc pki-cmsutil)
+if(WITH_JAVADOC)
+ create_javadoc(pki-util-${APPLICATION_VERSION}
+ PACKAGES com.netscape.cmsutil.crypto
+ com.netscape.cmsutil.http
+ com.netscape.cmsutil.ldap
+ com.netscape.cmsutil.net
+ com.netscape.cmsutil.ocsp
+ com.netscape.cmsutil.password
+ com.netscape.cmsutil.radius
+ com.netscape.cmsutil.scep
+ com.netscape.cmsutil.util
+ com.netscape.cmsutil.xml
+ SOURCEPATH ${CMAKE_CURRENT_SOURCE_DIR}
+ CLASSPATH ${CMAKE_JAVA_INCLUDE_PATH}
+ WINDOWTITLE "pki-util"
+ DOCTITLE "<h1>dogtag</h1>"
+ AUTHOR TRUE
+ USE TRUE
+ VERSION TRUE
+ )
+ add_dependencies(pki-util-${APPLICATION_VERSION}_javadoc pki-cmsutil)
+endif(WITH_JAVADOC)