diff options
-rw-r--r-- | cmake/modules/FindASCIIDOC.cmake | 4 | ||||
-rw-r--r-- | docbook/CMakeLists.txt | 12 |
2 files changed, 6 insertions, 10 deletions
diff --git a/cmake/modules/FindASCIIDOC.cmake b/cmake/modules/FindASCIIDOC.cmake index 60b2b17913..b6e66caf79 100644 --- a/cmake/modules/FindASCIIDOC.cmake +++ b/cmake/modules/FindASCIIDOC.cmake @@ -116,8 +116,6 @@ ENDMACRO() MACRO( ASCIIDOC2HTML _output _asciidocsource _conf_files ) GET_FILENAME_COMPONENT( _source_base_name ${_asciidocsource} NAME_WE ) - set( A2X_HTML_OPTS --stylesheet=ws.css ) - SET( A2X_HTML_OPTS --stylesheet=ws.css ) SET( _conf_opts_list ) @@ -165,7 +163,6 @@ MACRO( ASCIIDOC2TXT _output _asciidocsource _conf_files ) else() set( A2X_TEXT_OPTS ) endif() - SET( A2X_HTML_OPTS --stylesheet=ws.css ) SET( _conf_opts_list ) @@ -212,7 +209,6 @@ ENDMACRO() MACRO( ASCIIDOC2PDF _output _asciidocsource _conf_files _paper ) GET_FILENAME_COMPONENT( _source_base_name ${_asciidocsource} NAME_WE ) - SET( A2X_HTML_OPTS --stylesheet=ws.css ) SET( _conf_opts_list ) diff --git a/docbook/CMakeLists.txt b/docbook/CMakeLists.txt index 0ad3b33d51..29c64de8cd 100644 --- a/docbook/CMakeLists.txt +++ b/docbook/CMakeLists.txt @@ -305,15 +305,15 @@ ADD_CUSTOM_COMMAND( set( WSDG_BUILT_DEPS ws.css wsluarm ) +set( ASCIIDOC_CONF_FILES + asciidoc.conf + asciidoctor-asciidoc.conf + attributes.asciidoc +) + if(ENABLE_HTML_GUIDES OR ENABLE_PDF_GUIDES OR ENABLE_CHM_GUIDES) # Generate the DocBook sources of user and developer guides - set( ASCIIDOC_CONF_FILES - asciidoc.conf - asciidoctor-asciidoc.conf - attributes.asciidoc - ) - ASCIIDOC2DOCBOOK(user-guide.asciidoc ASCIIDOC_CONF_FILES WSUG_SOURCE WSUG_BUILT_DEPS) add_custom_target(user_guide_docbook DEPENDS generate_user-guide.xml) set_target_properties(user_guide_docbook PROPERTIES FOLDER "Docbook") |