/****************************************************************************** * FILE PURPOSE: Fault Management Library DOCS Module specification file. ****************************************************************************** * FILE NAME: module.xs * * DESCRIPTION: * This file contains the module specification for the Fault Management Lib Documentation . * * Copyright (C) 2012, Texas Instruments, Inc. *****************************************************************************/ /* Load the library utility. */ var libUtility = xdc.loadCapsule ("../build/buildlib.xs"); /************************************************************************** * FUNCTION NAME : modBuild ************************************************************************** * DESCRIPTION : * The function is used to build all the components of the documentation **************************************************************************/ function modBuild() { /* Create the actual PROLOGUE Section for the Documentation.*/ Pkg.makePrologue += "release: fault_mgmtlib_document_generation\n"; Pkg.makePrologue += "fault_mgmtlib_document_generation:\n"; Pkg.makePrologue += "\t @echo -------------------------------------------------------\n"; Pkg.makePrologue += "\t @echo Generating Fault Management Lib Documentation\n"; Pkg.makePrologue += "\t doxygen docs/Doxyfile\n"; Pkg.makePrologue += "\t @echo Fault Management Library Documentation Generated \n"; Pkg.makePrologue += "\t @echo -------------------------------------------------------\n"; /* Add the documentation file to the package. */ Pkg.otherFiles[Pkg.otherFiles.length++] = "docs/fault_mgmtlibDocs.chm"; Pkg.otherFiles[Pkg.otherFiles.length++] = "docs/tifooter.htm"; Pkg.otherFiles[Pkg.otherFiles.length++] = "docs/tiheader.htm"; Pkg.otherFiles[Pkg.otherFiles.length++] = "docs/tilogo.gif"; Pkg.otherFiles[Pkg.otherFiles.length++] = "docs/titagline.gif"; Pkg.otherFiles[Pkg.otherFiles.length++] = "docs/doxygen"; Pkg.otherFiles[Pkg.otherFiles.length++] = "docs/ReleaseNotes_fault_mgmt.pdf"; if (fault_mgmtlibInstallType == "SETUP") { /* Generate the ECLIPSE Plugin Generation */ Pkg.makePrologue += "all: eclipse_plugin_generation\n"; Pkg.makePrologue += "eclipse_plugin_generation:\n"; Pkg.makePrologue += "\t @echo -------------------------------------------------------\n"; Pkg.makePrologue += "\t @echo RM LLD Eclipse Plugin Generation\n"; Pkg.makePrologue += "\t xs xdc.tools.eclipsePluginGen -o . -x ./eclipseDocs/sample.xml -c ./eclipseDocs/toc_cdoc_sample.xml\n"; Pkg.makePrologue += "\t @echo RM LLD Eclipse Plugin Generated \n"; Pkg.makePrologue += "\t @echo -------------------------------------------------------\n"; } }