فهرست منبع

HPCC-22003 Implement Portuguese Doc Build

Signed-off-by: G-Pan <greg.panagiotatos@lexisnexis.com>
G-Pan 6 سال پیش
والد
کامیت
90c91c2f67

+ 105 - 0
docs/PT_BR/CMakeLists.txt

@@ -0,0 +1,105 @@
+################################################################################
+#    HPCC SYSTEMS software Copyright (C) 2019 HPCC Systems®.
+#
+#    Licensed under the Apache License, Version 2.0 (the "License");
+#    you may not use this file except in compliance with the License.
+#    You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+#    Unless required by applicable law or agreed to in writing, software
+#    distributed under the License is distributed on an "AS IS" BASIS,
+#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#    See the License for the specific language governing permissions and
+#    limitations under the License.
+################################################################################
+
+###
+#  This CMakeLists intended to be used in docs/PT_BR
+#    Refactored for internationalization
+###
+#    Last Mod GP 5/2019
+#  Removed ECL Plugin For Eclipse
+####################
+#
+# Doc dirs to include.
+#
+
+
+cmake_minimum_required(VERSION 2.8)
+PROJECT(docs_pt_br)
+
+#define_property(GLOBAL PROPERTY DOC_TARGETS BRIEF_DOCS "docs_pt_br" FULL_DOCS "docs_pt_br")
+#mark_as_advanced(DOC_TARGETS)
+
+#include(${CMAKE_MODULE_PATH}/docMacros.cmake)
+
+set (DOC_LANG PT_BR)
+#set (DOCBOOK_RESOURCES ${CMAKE_CURRENT_BINARY_DIR}/../resources)
+#set (DOCBOOK_XSL ${CMAKE_CURRENT_BINARY_DIR}/../resources/docbook-xsl)
+set (DOC_IMAGES ${CMAKE_CURRENT_SOURCE_DIR}/)
+#set (XML_CATALOG ${CMAKE_CURRENT_BINARY_DIR}/../BuildTools/catalog.xml)
+#set (DOC_VERSION "${HPCC_MAJOR}.${HPCC_MINOR}.${HPCC_POINT}")
+#set (FO_XSL ${CMAKE_CURRENT_BINARY_DIR}/../BuildTools/fo.xsl)
+#set (VERSION_DIR ${CMAKE_CURRENT_BINARY_DIR}/)
+#set (ECLIPSE_HTML_XSL ${CMAKE_CURRENT_BINARY_DIR}/../BuildTools/EclipseHelp.xsl)
+set (ECL_REFERENCE_XML ${CMAKE_CURRENT_BINARY_DIR}/ECLReference/ECLReference.xml)
+#set (HTML_HELP_XSL ${CMAKE_CURRENT_BINARY_DIR}/../resources/docbook-xsl/htmlhelp/htmlhelp.xsl)
+
+set (PORTAL_HTML_DIR "${CMAKE_CURRENT_BINARY_DIR}/PortalHTML")
+
+# Build image file list to add to source watch.
+file(GLOB_RECURSE DOC_IMAGES_LIST images/*)
+
+# Required directories to add.
+#add_subdirectory(../common common)
+#add_subdirectory(../BuildTools BuildTools)
+#add_subdirectory(../resources resources)
+
+
+add_subdirectory(DynamicESDL)
+add_subdirectory(ECLLanguageReference)
+add_subdirectory(ECLProgrammersGuide)
+add_subdirectory(ECLStandardLibraryReference)
+##add_subdirectory(ECLReference)
+
+##add_subdirectory(EclipseHelp)
+##add_subdirectory(HTMLHelp)
+add_subdirectory(ECLPlayground)
+add_subdirectory(HPCCClientTools)
+add_subdirectory(HPCCCertify)
+add_subdirectory(HPCCDataHandling)
+add_subdirectory(HPCCDataTutorial)
+add_subdirectory(HPCCMonitoring)
+add_subdirectory(HPCCSystemAdmin)
+##7.2#add_subdirectory(HPCCSpark)
+add_subdirectory(IMDB)
+add_subdirectory(InstantCloud)
+add_subdirectory(Installing_and_RunningTheHPCCPlatform)
+add_subdirectory(RoxieReference)
+add_subdirectory(RunningHPCCinaVirtualMachine)
+
+#add_subdirectory(ECLPluginForEclipse)
+add_subdirectory(ECLScheduler)
+add_subdirectory(ECLWatch)
+add_subdirectory(VisualizingECL)
+##7.2#add_subdirectory(WsSQLUG)
+#add_subdirectory(PortalHTML)
+
+
+
+
+# Docs automation
+##CommentedOut4PT_BR_TESTING
+##if (DOCS_AUTO)
+#   add_subdirectory(XMLGeneration)
+##   add_subdirectory(ConfiguringHPCC)
+##endif()
+
+
+#WIP -  Docs
+#add_subdirectory(RuningHPCCinAmazonWebServicesEC2)
+
+
+#GET_PROPERTY(_targets GLOBAL PROPERTY DOC_TARGETS)
+#add_custom_target(docs_en_us ALL DEPENDS ${_targets})

+ 4 - 17
docs/PT_BR/DynamicESDL/CMakeLists.txt

@@ -1,5 +1,5 @@
-################################################################################
-#    HPCC SYSTEMS software Copyright (C) 2015 HPCC Systems(r).
+################################################################################
+#    HPCC SYSTEMS software Copyright (C) 2019 HPCC Systems®.
 #
 #
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    you may not use this file except in compliance with the License.
 #    you may not use this file except in compliance with the License.
@@ -13,18 +13,5 @@
 #    See the License for the specific language governing permissions and
 #    See the License for the specific language governing permissions and
 #    limitations under the License.
 #    limitations under the License.
 ################################################################################
 ################################################################################
-
-DOCBOOK_TO_PDF( ${FO_XSL} DynamicESDL_Includer.xml "DynamicESDL" "DESDL-Mods")
-DOCBOOK_TO_PDF( ${FO_XSL} ESDL_LangRef_Includer.xml "ESDL_LangRef" "DESDL-Mods")
-
-IF(MAKE_DOCS)
-  SET(HELP_DEPENDENCIES)
-  GET_PROPERTY(Current_Targets GLOBAL PROPERTY DOC_TARGETS)
-  FOREACH(T ${Current_Targets})
-    IF("${T}" MATCHES ".*ESDL_LangRef.*")
-      LIST(APPEND HELP_DEPENDENCIES  ${T})
-    ENDIF()
-  ENDFOREACH()
-
-  DOCBOOK_TO_HTML(${ECLIPSE_HTML_XSL} "${CMAKE_CURRENT_BINARY_DIR}/ESDL_LangRef_Includer.xml" ${PORTAL_HTML_DIR}/ESDL_LangRef  "esdl_langref_html" "${HPCC_SOURCE_DIR}/docs/common/eclipsehelp.css" "")
-ENDIF(MAKE_DOCS)
+get_filename_component(DOC_DIR_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME)
+include(${CMAKE_CURRENT_SOURCE_DIR}/../../BuildTools/cmake_config/${DOC_DIR_NAME}.txt)

+ 3 - 15
docs/PT_BR/ECLLanguageReference/CMakeLists.txt

@@ -1,5 +1,5 @@
 ################################################################################
 ################################################################################
-#    HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
+#    HPCC SYSTEMS software Copyright (C) 2019 HPCC Systems®.
 #
 #
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    you may not use this file except in compliance with the License.
 #    you may not use this file except in compliance with the License.
@@ -13,17 +13,5 @@
 #    See the License for the specific language governing permissions and
 #    See the License for the specific language governing permissions and
 #    limitations under the License.
 #    limitations under the License.
 ################################################################################
 ################################################################################
-
-DOCBOOK_TO_PDF( ${FO_XSL} ECLR-includer.xml "ECLLanguageReference" "ECLR_mods")
-
-IF(MAKE_DOCS)
-  SET(HELP_DEPENDENCIES)
-  GET_PROPERTY(Current_Targets GLOBAL PROPERTY DOC_TARGETS)
-  FOREACH(T ${Current_Targets})
-    IF("${T}" MATCHES ".*ECLLanguageReference.*")
-      LIST(APPEND HELP_DEPENDENCIES  ${T})
-    ENDIF()
-  ENDFOREACH()
-
-  DOCBOOK_TO_HTML(${ECLIPSE_HTML_XSL} "${CMAKE_CURRENT_BINARY_DIR}/ECLR-includer.xml" ${PORTAL_HTML_DIR}/ECLR  "lang_ref_html" "${HPCC_SOURCE_DIR}/docs/common/eclipsehelp.css" "")
-ENDIF(MAKE_DOCS)
+get_filename_component(DOC_DIR_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME)
+include(${CMAKE_CURRENT_SOURCE_DIR}/../../BuildTools/cmake_config/${DOC_DIR_NAME}.txt)

+ 3 - 16
docs/PT_BR/ECLPlayground/CMakeLists.txt

@@ -1,5 +1,5 @@
 ################################################################################
 ################################################################################
-#    HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
+#    HPCC SYSTEMS software Copyright (C) 2019 HPCC Systems®.
 #
 #
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    you may not use this file except in compliance with the License.
 #    you may not use this file except in compliance with the License.
@@ -13,18 +13,5 @@
 #    See the License for the specific language governing permissions and
 #    See the License for the specific language governing permissions and
 #    limitations under the License.
 #    limitations under the License.
 ################################################################################
 ################################################################################
-
-DOCBOOK_TO_PDF( ${FO_XSL} ECLPlayground-includer.xml "ECL_Playground" "ECLPlay-Mods")
-
-IF(MAKE_DOCS)
-  SET(HELP_DEPENDENCIES)
-  GET_PROPERTY(Current_Targets GLOBAL PROPERTY DOC_TARGETS)
-  FOREACH(T ${Current_Targets})
-    IF("${T}" MATCHES ".*RoxieReference.*")
-      LIST(APPEND HELP_DEPENDENCIES  ${T})
-    ENDIF()
-  ENDFOREACH()
-
-  DOCBOOK_TO_HTML(${ECLIPSE_HTML_XSL} "${CMAKE_CURRENT_BINARY_DIR}/ECLPlayground-includer.xml" ${PORTAL_HTML_DIR}/ECLPlayground  "play_ground_html" "${HPCC_SOURCE_DIR}/docs/common/eclipsehelp.css" "")
-
-ENDIF(MAKE_DOCS)
+get_filename_component(DOC_DIR_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME)
+include(${CMAKE_CURRENT_SOURCE_DIR}/../../BuildTools/cmake_config/${DOC_DIR_NAME}.txt)

+ 1 - 1
docs/PT_BR/ECLPluginForEclipse/CMakeLists.txt

@@ -1,5 +1,5 @@
 ################################################################################
 ################################################################################
-#    HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
+#    HPCC SYSTEMS software Copyright (C) 2019 HPCC Systems®.
 #
 #
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    you may not use this file except in compliance with the License.
 #    you may not use this file except in compliance with the License.

+ 3 - 27
docs/PT_BR/ECLProgrammersGuide/CMakeLists.txt

@@ -1,5 +1,5 @@
 ################################################################################
 ################################################################################
-#    HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
+#    HPCC SYSTEMS software Copyright (C) 2019 HPCC Systems®.
 #
 #
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    you may not use this file except in compliance with the License.
 #    you may not use this file except in compliance with the License.
@@ -14,29 +14,5 @@
 #    limitations under the License.
 #    limitations under the License.
 ################################################################################
 ################################################################################
 
 
-
-DOCBOOK_TO_PDF( ${FO_XSL} PrGd-Includer.xml "ECLProgrammersGuide" "PRG_Mods")
-
-IF(MAKE_DOCS)
-  set(zip_out_dir ${CMAKE_BINARY_DIR}/${CMAKE_BUILD_TYPE}/docs)
-  ADD_CUSTOM_COMMAND(
-	COMMAND mkdir -p ${zip_out_dir}
-	COMMAND mkdir -p ECL_Code_Files
-	COMMAND rm -rf ECL_Code_Files/*
-        COMMAND cp ${HPCC_SOURCE_DIR}/docs/ECLProgrammersGuide/PRG_Mods/"\"ECL Code Files\""/*.ecl ECL_Code_Files/
-        COMMAND zip -r  ${zip_out_dir}/ECL_Code_Files.zip ECL_Code_Files
-        OUTPUT ${zip_out_dir}/ECL_Code_Files.zip
-	)
-
-  ADD_CUSTOM_TARGET(ECL_Code_Files ALL DEPENDS  ${zip_out_dir}/ECL_Code_Files.zip)
-
-  SET(HELP_DEPENDENCIES)
-  GET_PROPERTY(Current_Targets GLOBAL PROPERTY DOC_TARGETS)
-  FOREACH(T ${Current_Targets})
-    IF("${T}" MATCHES ".*ECLProgrammersGuide.*")
-      LIST(APPEND HELP_DEPENDENCIES  ${T})
-     ENDIF()
-  ENDFOREACH()
-
-  DOCBOOK_TO_HTML(${ECLIPSE_HTML_XSL} "${CMAKE_CURRENT_BINARY_DIR}/PrGd-Includer.xml" ${PORTAL_HTML_DIR}/ProgrammersGuide  "programmers_guide_html" "${HPCC_SOURCE_DIR}/docs/common/eclipsehelp.css" "")
-ENDIF(MAKE_DOCS)
+get_filename_component(DOC_DIR_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME)
+include(${CMAKE_CURRENT_SOURCE_DIR}/../../BuildTools/cmake_config/${DOC_DIR_NAME}.txt)

+ 4 - 16
docs/PT_BR/ECLScheduler/CMakeLists.txt

@@ -1,5 +1,5 @@
-################################################################################
-#    HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
+################################################################################
+#    HPCC SYSTEMS software Copyright (C) 2019 HPCC Systems®.
 #
 #
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    you may not use this file except in compliance with the License.
 #    you may not use this file except in compliance with the License.
@@ -13,17 +13,5 @@
 #    See the License for the specific language governing permissions and
 #    See the License for the specific language governing permissions and
 #    limitations under the License.
 #    limitations under the License.
 ################################################################################
 ################################################################################
-
-DOCBOOK_TO_PDF( ${FO_XSL} ECLScheduler.xml "TheECLScheduler" "ECLSched-Mods")
-
-IF(MAKE_DOCS)
-  SET(HELP_DEPENDENCIES)
-  GET_PROPERTY(Current_Targets GLOBAL PROPERTY DOC_TARGETS)
-  FOREACH(T ${Current_Targets})
-    IF("${T}" MATCHES ".*TheECLScheduler.*")
-      LIST(APPEND HELP_DEPENDENCIES  ${T})
-     ENDIF()
-  ENDFOREACH()
-
-  DOCBOOK_TO_HTML(${ECLIPSE_HTML_XSL} "${CMAKE_CURRENT_BINARY_DIR}/ECLScheduler.xml" ${PORTAL_HTML_DIR}/Scheduler  "scheduler_html" "${HPCC_SOURCE_DIR}/docs/common/eclipsehelp.css" "")
-ENDIF(MAKE_DOCS)
+get_filename_component(DOC_DIR_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME)
+include(${CMAKE_CURRENT_SOURCE_DIR}/../../BuildTools/cmake_config/${DOC_DIR_NAME}.txt)

+ 3 - 16
docs/PT_BR/ECLStandardLibraryReference/CMakeLists.txt

@@ -1,5 +1,5 @@
 ################################################################################
 ################################################################################
-#    HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
+#    HPCC SYSTEMS software Copyright (C) 2019 HPCC Systems®.
 #
 #
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    you may not use this file except in compliance with the License.
 #    you may not use this file except in compliance with the License.
@@ -13,18 +13,5 @@
 #    See the License for the specific language governing permissions and
 #    See the License for the specific language governing permissions and
 #    limitations under the License.
 #    limitations under the License.
 ################################################################################
 ################################################################################
-
-DOCBOOK_TO_PDF( ${FO_XSL} SLR-includer.xml "ECLStandardLibraryReference" "SLR-Mods")
-
-
-IF(MAKE_DOCS)
-  SET(HELP_DEPENDENCIES)
-  GET_PROPERTY(Current_Targets GLOBAL PROPERTY DOC_TARGETS)
-  FOREACH(T ${Current_Targets})
-    IF("${T}" MATCHES ".*ECLStandardLibraryReference.*")
-      LIST(APPEND HELP_DEPENDENCIES  ${T})
-    ENDIF()
-  ENDFOREACH()
-
-  DOCBOOK_TO_HTML(${ECLIPSE_HTML_XSL} "${CMAKE_CURRENT_BINARY_DIR}/SLR-includer.xml" ${PORTAL_HTML_DIR}/SLR  "stdlib_ref_html" "${HPCC_SOURCE_DIR}/docs/common/eclipsehelp.css" "")
-ENDIF(MAKE_DOCS)
+get_filename_component(DOC_DIR_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME)
+include(${CMAKE_CURRENT_SOURCE_DIR}/../../BuildTools/cmake_config/${DOC_DIR_NAME}.txt)

+ 3 - 17
docs/PT_BR/ECLWatch/CMakeLists.txt

@@ -1,5 +1,5 @@
 ################################################################################
 ################################################################################
-#    HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
+#    HPCC SYSTEMS software Copyright (C) 2019 HPCC Systems®.
 #
 #
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    you may not use this file except in compliance with the License.
 #    you may not use this file except in compliance with the License.
@@ -13,19 +13,5 @@
 #    See the License for the specific language governing permissions and
 #    See the License for the specific language governing permissions and
 #    limitations under the License.
 #    limitations under the License.
 ################################################################################
 ################################################################################
-
-#DOCBOOK_TO_PDF( ${FO_XSL} ECLWTechPrev.xml "ECLWatch" "ECLWa_mods")
-
-DOCBOOK_TO_PDF( ${FO_XSL} TheECLWatchMan.xml "The_ECL_Watch_Manual" "ECLWa_mods")
-
-IF(MAKE_DOCS)
-  SET(HELP_DEPENDENCIES)
-  GET_PROPERTY(Current_Targets GLOBAL PROPERTY DOC_TARGETS)
-  FOREACH(T ${Current_Targets})
-    IF("${T}" MATCHES ".*The_ECL_Watch_Manual.*")
-      LIST(APPEND HELP_DEPENDENCIES  ${T})
-     ENDIF()
-  ENDFOREACH()
-
-  DOCBOOK_TO_HTML(${ECLIPSE_HTML_XSL} "${CMAKE_CURRENT_BINARY_DIR}/TheECLWatchMan.xml" ${PORTAL_HTML_DIR}/ECLWatchMan  "eclwatch_man_html" "${HPCC_SOURCE_DIR}/docs/common/eclipsehelp.css" "")
-ENDIF(MAKE_DOCS)
+get_filename_component(DOC_DIR_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME)
+include(${CMAKE_CURRENT_SOURCE_DIR}/../../BuildTools/cmake_config/${DOC_DIR_NAME}.txt)

+ 3 - 16
docs/PT_BR/HPCCCertify/CMakeLists.txt

@@ -1,5 +1,5 @@
 ################################################################################
 ################################################################################
-#    HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
+#    HPCC SYSTEMS software Copyright (C) 2019 HPCC Systems®.
 #
 #
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    you may not use this file except in compliance with the License.
 #    you may not use this file except in compliance with the License.
@@ -13,18 +13,5 @@
 #    See the License for the specific language governing permissions and
 #    See the License for the specific language governing permissions and
 #    limitations under the License.
 #    limitations under the License.
 ################################################################################
 ################################################################################
-
-DOCBOOK_TO_PDF( ${FO_XSL} certify.xml "HPCCCertification")
-
-IF(MAKE_DOCS)
-  SET(HELP_DEPENDENCIES)
-  GET_PROPERTY(Current_Targets GLOBAL PROPERTY DOC_TARGETS)
-  FOREACH(T ${Current_Targets})
-    IF("${T}" MATCHES ".*HPCCCertification.*")
-      LIST(APPEND HELP_DEPENDENCIES  ${T})
-     ENDIF()
-  ENDFOREACH()
-
-  DOCBOOK_TO_HTML(${ECLIPSE_HTML_XSL} "${CMAKE_CURRENT_BINARY_DIR}/certify.xml" ${PORTAL_HTML_DIR}/Certification  "certify_html" "${HPCC_SOURCE_DIR}/docs/common/eclipsehelp.css" "")
-ENDIF(MAKE_DOCS)
-
+get_filename_component(DOC_DIR_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME)
+include(${CMAKE_CURRENT_SOURCE_DIR}/../../BuildTools/cmake_config/${DOC_DIR_NAME}.txt)

+ 3 - 29
docs/PT_BR/HPCCClientTools/CMakeLists.txt

@@ -1,5 +1,5 @@
 ################################################################################
 ################################################################################
-#    HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
+#    HPCC SYSTEMS software Copyright (C) 2019 HPCC Systems®.
 #
 #
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    you may not use this file except in compliance with the License.
 #    you may not use this file except in compliance with the License.
@@ -13,31 +13,5 @@
 #    See the License for the specific language governing permissions and
 #    See the License for the specific language governing permissions and
 #    limitations under the License.
 #    limitations under the License.
 ################################################################################
 ################################################################################
-
-DOCBOOK_TO_PDF( ${FO_XSL} ClientTools.xml "HPCCClientTools" "CT_Mods")
-
-DOCBOOK_TO_PDF( ${FO_XSL} TheECLIDEandHPCCClientTools.xml "TheECLIDEandHPCCClientTools" "CT_Mods")
-
-IF(MAKE_DOCS)
-  SET(HELP_DEPENDENCIES)
-  GET_PROPERTY(Current_Targets GLOBAL PROPERTY DOC_TARGETS)
-  FOREACH(T ${Current_Targets})
-    IF("${T}" MATCHES ".*HPCCClientTools.*")
-      LIST(APPEND HELP_DEPENDENCIES  ${T})
-     ENDIF()
-  ENDFOREACH()
-
-  DOCBOOK_TO_HTML(${ECLIPSE_HTML_XSL} "${CMAKE_CURRENT_BINARY_DIR}/ClientTools.xml" ${PORTAL_HTML_DIR}/ClientTools  "clienttools_html" "${HPCC_SOURCE_DIR}/docs/common/eclipsehelp.css" "")
-
-  SET(HELP_DEPENDENCIES)
-  GET_PROPERTY(Current_Targets GLOBAL PROPERTY DOC_TARGETS)
-  FOREACH(T ${Current_Targets})
-    IF("${T}" MATCHES ".*TheECLIDEandHPCCClientTools.*")
-      LIST(APPEND HELP_DEPENDENCIES  ${T})
-     ENDIF()
-  ENDFOREACH()
-
-  DOCBOOK_TO_HTML(${ECLIPSE_HTML_XSL} "${CMAKE_CURRENT_BINARY_DIR}/TheECLIDEandHPCCClientTools.xml" ${PORTAL_HTML_DIR}/ECLIDEandClientTools "eclide_clienttools_html" "${HPCC_SOURCE_DIR}/docs/common/eclipsehelp.css" "")
-
-
-ENDIF(MAKE_DOCS)
+get_filename_component(DOC_DIR_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME)
+include(${CMAKE_CURRENT_SOURCE_DIR}/../../BuildTools/cmake_config/${DOC_DIR_NAME}.txt)

+ 3 - 15
docs/PT_BR/HPCCDataHandling/CMakeLists.txt

@@ -1,5 +1,5 @@
 ################################################################################
 ################################################################################
-#    HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
+#    HPCC SYSTEMS software Copyright (C) 2019 HPCC Systems®.
 #
 #
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    you may not use this file except in compliance with the License.
 #    you may not use this file except in compliance with the License.
@@ -13,17 +13,5 @@
 #    See the License for the specific language governing permissions and
 #    See the License for the specific language governing permissions and
 #    limitations under the License.
 #    limitations under the License.
 ################################################################################
 ################################################################################
-
-DOCBOOK_TO_PDF( ${FO_XSL} DataHandling.xml "HPCCDataHandling" "DH-Mods")
-
-IF(MAKE_DOCS)
-  SET(HELP_DEPENDENCIES)
-  GET_PROPERTY(Current_Targets GLOBAL PROPERTY DOC_TARGETS)
-  FOREACH(T ${Current_Targets})
-    IF("${T}" MATCHES ".*HPCCDataHandling.*")
-      LIST(APPEND HELP_DEPENDENCIES  ${T})
-     ENDIF()
-  ENDFOREACH()
-
-  DOCBOOK_TO_HTML(${ECLIPSE_HTML_XSL} "${CMAKE_CURRENT_BINARY_DIR}/DataHandling.xml" ${PORTAL_HTML_DIR}/DataHandling "datahandling_html" "${HPCC_SOURCE_DIR}/docs/common/eclipsehelp.css" "")
-ENDIF(MAKE_DOCS)
+get_filename_component(DOC_DIR_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME)
+include(${CMAKE_CURRENT_SOURCE_DIR}/../../BuildTools/cmake_config/${DOC_DIR_NAME}.txt)

+ 1 - 1
docs/PT_BR/HPCCDataTutorial/CMakeLists.txt

@@ -1,5 +1,5 @@
 ################################################################################
 ################################################################################
-#    HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
+#    HPCC SYSTEMS software Copyright (C) 2019 HPCC Systems®.
 #
 #
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    you may not use this file except in compliance with the License.
 #    you may not use this file except in compliance with the License.

+ 3 - 14
docs/PT_BR/HPCCMonitoring/CMakeLists.txt

@@ -1,5 +1,5 @@
 ################################################################################
 ################################################################################
-#    HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
+#    HPCC SYSTEMS software Copyright (C) 2019 HPCC Systems®.
 #
 #
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    you may not use this file except in compliance with the License.
 #    you may not use this file except in compliance with the License.
@@ -13,16 +13,5 @@
 #    See the License for the specific language governing permissions and
 #    See the License for the specific language governing permissions and
 #    limitations under the License.
 #    limitations under the License.
 ################################################################################
 ################################################################################
-
-DOCBOOK_TO_PDF( ${FO_XSL} HPCCMonitoringAndReporting.xml "HPCC_Monitoring_and_Reporting")
-IF(MAKE_DOCS)
-  SET(HELP_DEPENDENCIES)
-  GET_PROPERTY(Current_Targets GLOBAL PROPERTY DOC_TARGETS)
-  FOREACH(T ${Current_Targets})
-    IF("${T}" MATCHES ".*Monitoring_and_Reporting.*")
-      LIST(APPEND HELP_DEPENDENCIES  ${T})
-     ENDIF()
-  ENDFOREACH()
-
-  DOCBOOK_TO_HTML(${ECLIPSE_HTML_XSL} "${CMAKE_CURRENT_BINARY_DIR}/HPCCMonitoringAndReporting.xml" ${PORTAL_HTML_DIR}/Monitoring_and_Reporting  "monitor_reporting_html" "${HPCC_SOURCE_DIR}/docs/common/eclipsehelp.css" "")
-ENDIF(MAKE_DOCS)
+get_filename_component(DOC_DIR_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME)
+include(${CMAKE_CURRENT_SOURCE_DIR}/../../BuildTools/cmake_config/${DOC_DIR_NAME}.txt)

+ 3 - 27
docs/PT_BR/HPCCSystemAdmin/CMakeLists.txt

@@ -1,5 +1,5 @@
 ################################################################################
 ################################################################################
-#    HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
+#    HPCC SYSTEMS software Copyright (C) 2019 HPCC Systems®.
 #
 #
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    you may not use this file except in compliance with the License.
 #    you may not use this file except in compliance with the License.
@@ -13,29 +13,5 @@
 #    See the License for the specific language governing permissions and
 #    See the License for the specific language governing permissions and
 #    limitations under the License.
 #    limitations under the License.
 ################################################################################
 ################################################################################
-
-DOCBOOK_TO_PDF( ${FO_XSL} HPCCSystemAdministratorsGuide.xml "HPCCSystemAdministratorsGuide" "SA-Mods")
-
-DOCBOOK_TO_PDF( ${FO_XSL} SecMgrInc.xml "HPCCSecurityManagerGuide" "SA-Mods")
-
-IF(MAKE_DOCS)
-  SET(HELP_DEPENDENCIES)
-  GET_PROPERTY(Current_Targets GLOBAL PROPERTY DOC_TARGETS)
-  FOREACH(T ${Current_Targets})
-    IF("${T}" MATCHES ".*SystemAdministratorsGuide.*")
-      LIST(APPEND HELP_DEPENDENCIES  ${T})
-     ENDIF()
-  ENDFOREACH()
-
-  DOCBOOK_TO_HTML(${ECLIPSE_HTML_XSL} "${CMAKE_CURRENT_BINARY_DIR}/HPCCSystemAdministratorsGuide.xml" ${PORTAL_HTML_DIR}/SystemAdministratorsGuide  "system_administration_guide_html" "${HPCC_SOURCE_DIR}/docs/common/eclipsehelp.css" "")
-
-  SET(HELP_DEPENDENCIES)
-  GET_PROPERTY(Current_Targets GLOBAL PROPERTY DOC_TARGETS)
-  FOREACH(T ${Current_Targets})
-    IF("${T}" MATCHES ".*SecurityManagerGuide.*")
-      LIST(APPEND HELP_DEPENDENCIES  ${T})
-     ENDIF()
-  ENDFOREACH()
-
-  DOCBOOK_TO_HTML(${ECLIPSE_HTML_XSL} "${CMAKE_CURRENT_BINARY_DIR}/SecMgrInc.xml" ${PORTAL_HTML_DIR}/SecurityManagerGuide  "security_manager_guide_html" "${HPCC_SOURCE_DIR}/docs/common/eclipsehelp.css" "")
-ENDIF(MAKE_DOCS)
+get_filename_component(DOC_DIR_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME)
+include(${CMAKE_CURRENT_SOURCE_DIR}/../../BuildTools/cmake_config/${DOC_DIR_NAME}.txt)

+ 1 - 1
docs/PT_BR/IMDB/CMakeLists.txt

@@ -1,5 +1,5 @@
 ################################################################################
 ################################################################################
-#    HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
+#    HPCC SYSTEMS software Copyright (C) 2019 HPCC Systems®.
 #
 #
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    you may not use this file except in compliance with the License.
 #    you may not use this file except in compliance with the License.

+ 3 - 15
docs/PT_BR/Installing_and_RunningTheHPCCPlatform/CMakeLists.txt

@@ -1,5 +1,5 @@
 ################################################################################
 ################################################################################
-#    HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
+#    HPCC SYSTEMS software Copyright (C) 2019 HPCC Systems®.
 #
 #
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    you may not use this file except in compliance with the License.
 #    you may not use this file except in compliance with the License.
@@ -13,17 +13,5 @@
 #    See the License for the specific language governing permissions and
 #    See the License for the specific language governing permissions and
 #    limitations under the License.
 #    limitations under the License.
 ################################################################################
 ################################################################################
-
-DOCBOOK_TO_PDF( ${FO_XSL} Installing_and_RunningTheHPCCPlatform.xml "Installing_and_RunningTheHPCCPlatform")
-
-IF(MAKE_DOCS)
-  SET(HELP_DEPENDENCIES)
-  GET_PROPERTY(Current_Targets GLOBAL PROPERTY DOC_TARGETS)
-  FOREACH(T ${Current_Targets})
-    IF("${T}" MATCHES ".*Installing_and_RunningTheHPCCPlatform.*")
-      LIST(APPEND HELP_DEPENDENCIES  ${T})
-     ENDIF()
-  ENDFOREACH()
-
-  DOCBOOK_TO_HTML(${ECLIPSE_HTML_XSL} "${CMAKE_CURRENT_BINARY_DIR}/Installing_and_RunningTheHPCCPlatform.xml" ${PORTAL_HTML_DIR}/Installing_and_Running  "install_and_running_html" "${HPCC_SOURCE_DIR}/docs/common/eclipsehelp.css" "")
-ENDIF(MAKE_DOCS)
+get_filename_component(DOC_DIR_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME)
+include(${CMAKE_CURRENT_SOURCE_DIR}/../../BuildTools/cmake_config/${DOC_DIR_NAME}.txt)

+ 3 - 15
docs/PT_BR/InstantCloud/CMakeLists.txt

@@ -1,5 +1,5 @@
 ################################################################################
 ################################################################################
-#    HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
+#    HPCC SYSTEMS software Copyright (C) 2019 HPCC Systems®.
 #
 #
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    you may not use this file except in compliance with the License.
 #    you may not use this file except in compliance with the License.
@@ -13,17 +13,5 @@
 #    See the License for the specific language governing permissions and
 #    See the License for the specific language governing permissions and
 #    limitations under the License.
 #    limitations under the License.
 ################################################################################
 ################################################################################
-
-DOCBOOK_TO_PDF( ${FO_XSL} InstantCloud.xml "InstantCloud_for_AWS")
-
-IF(MAKE_DOCS)
-  SET(HELP_DEPENDENCIES)
-  GET_PROPERTY(Current_Targets GLOBAL PROPERTY DOC_TARGETS)
-  FOREACH(T ${Current_Targets})
-    IF("${T}" MATCHES ".*InstantCloud_for_AWS.*")
-      LIST(APPEND HELP_DEPENDENCIES  ${T})
-     ENDIF()
-  ENDFOREACH()
-
-  DOCBOOK_TO_HTML(${ECLIPSE_HTML_XSL} "${CMAKE_CURRENT_BINARY_DIR}/InstantCloud.xml" ${PORTAL_HTML_DIR}/InstantCloud_for_AWS  "instantcloud_for_aws_html" "${HPCC_SOURCE_DIR}/docs/common/eclipsehelp.css" "")
-ENDIF(MAKE_DOCS)
+get_filename_component(DOC_DIR_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME)
+include(${CMAKE_CURRENT_SOURCE_DIR}/../../BuildTools/cmake_config/${DOC_DIR_NAME}.txt)

+ 3 - 15
docs/PT_BR/RoxieReference/CMakeLists.txt

@@ -1,5 +1,5 @@
 ################################################################################
 ################################################################################
-#    HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
+#    HPCC SYSTEMS software Copyright (C) 2019 HPCC Systems®.
 #
 #
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    you may not use this file except in compliance with the License.
 #    you may not use this file except in compliance with the License.
@@ -13,17 +13,5 @@
 #    See the License for the specific language governing permissions and
 #    See the License for the specific language governing permissions and
 #    limitations under the License.
 #    limitations under the License.
 ################################################################################
 ################################################################################
-
-DOCBOOK_TO_PDF( ${FO_XSL} RoxieReference.xml "RoxieReference" "RoxieRefMods" )
-
-IF(MAKE_DOCS)
-  SET(HELP_DEPENDENCIES)
-  GET_PROPERTY(Current_Targets GLOBAL PROPERTY DOC_TARGETS)
-  FOREACH(T ${Current_Targets})
-    IF("${T}" MATCHES ".*RoxieReference.*")
-      LIST(APPEND HELP_DEPENDENCIES  ${T})
-     ENDIF()
-  ENDFOREACH()
-
-  DOCBOOK_TO_HTML(${ECLIPSE_HTML_XSL} "${CMAKE_CURRENT_BINARY_DIR}/RoxieReference.xml" ${PORTAL_HTML_DIR}/RoxieReference  "roxie_reference_html" "${HPCC_SOURCE_DIR}/docs/common/eclipsehelp.css" "")
-ENDIF(MAKE_DOCS)
+get_filename_component(DOC_DIR_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME)
+include(${CMAKE_CURRENT_SOURCE_DIR}/../../BuildTools/cmake_config/${DOC_DIR_NAME}.txt)

+ 1 - 1
docs/PT_BR/RunningHPCCinaVirtualMachine/CMakeLists.txt

@@ -1,5 +1,5 @@
 ################################################################################
 ################################################################################
-#    HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
+#    HPCC SYSTEMS software Copyright (C) 2019 HPCC Systems®.
 #
 #
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    you may not use this file except in compliance with the License.
 #    you may not use this file except in compliance with the License.

+ 1 - 1
docs/PT_BR/VisualizingECL/CMakeLists.txt

@@ -1,5 +1,5 @@
 ################################################################################
 ################################################################################
-#    HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
+#    HPCC SYSTEMS software Copyright (C) 2019 HPCC Systems®.
 #
 #
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    Licensed under the Apache License, Version 2.0 (the "License");
 #    you may not use this file except in compliance with the License.
 #    you may not use this file except in compliance with the License.