From 1ce64e75ab4ac16e00cd664599b9b31c57a59f1a Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Wed, 10 Dec 2014 16:50:56 -0800 Subject: CMake: Make it easier to generate the release notes & NEWS. Add convenience targets for generating the release notes and the NEWS file. Make sure we don't run multiple instances of a2x + AsciiDoc at the same time. Add the docbook directory to the build by default unless we're running Windows. Explain why we don't yet build docs on Windows. Make each docbook makefile target optional. Split the ENABLE_GUIDES option into ENABLE_HTML_GUIDES and ENABLE_PDF_GUIDES. Add a default "all_guides" target if either is on. Remove the Debian patch that hacked around the PDF requirement. Copy ws.css to the docbook build directory. Don't build PDF release notes. I'm not sure we ever used them and I don't want to install Java and FOP just to make a release. Change-Id: Ia2f710000c17f9e0b4b514fd373d9a5902889553 Reviewed-on: https://code.wireshark.org/review/5712 Petri-Dish: Gerald Combs Reviewed-by: Gerald Combs --- CMakeOptions.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'CMakeOptions.txt') diff --git a/CMakeOptions.txt b/CMakeOptions.txt index 1339679799..d813d2d60d 100644 --- a/CMakeOptions.txt +++ b/CMakeOptions.txt @@ -46,7 +46,8 @@ option(ENABLE_STATIC "Build a static version of Wireshark (not yet working)" option(ENABLE_ECHLD "Enable echld support" OFF) option(ENABLE_PLUGINS "Build with plugins" ON) option(ENABLE_EXTCAP "Build with extcap hooks" ON) -option(ENABLE_GUIDES "Build Guides" OFF) +option(ENABLE_HTML_GUIDES "Build HTML User & Developer Guides" OFF) +option(ENABLE_PDF_GUIDES "Build PDF User & Developer Guides" OFF) option(ENABLE_PCAP_NG_DEFAULT "Enable pcap-ng as default file format" ON) option(ENABLE_ADNS "Build with adns support" ON) -- cgit v1.2.1