Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
makehtml.C
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file makehtml.C
1 {
2  TString cfg = "./include/RDBC/config.h";
3  TString odbclib = "./odbc/.libs/libRDBCodbc.so";
4  TString rdbclib = "./rdbc/.libs/libRDBC.so";
5 
6  if(gSystem->AccessPathName(odbclib.Data())) gSystem->Exec("gmake");
7 
8  gSystem->Load(rdbclib.Data());
9  gSystem->Load(odbclib.Data());
10 
11  G__loadfile(cfg.Data());
12 
13  TString comment = "Generating HTML class docs for ";
14  comment += RDBC_PACKAGE;
15  comment += "-";
16  comment += RDBC_VERSION;
17  comment += " in directory htmldoc/...";
18 
19  cout << endl;
20  cout << comment << endl;
21  cout << endl;
22 
23  gEnv->SetValue("Root.Html.Author","//*-- Author :",kEnvChange);
24  gEnv->SetValue("Root.Html.LastUpdate","//*-- Modified :",kEnvChange);
25  gEnv->SetValue("Root.Html.HomePage","http://www.phenix.bnl.gov/WWW/publish/onuchin/RDBC",kEnvChange);
26  gEnv->SetValue("Unix.*.Root.Html.SourceDir","rdbc/:odbc/:include/RDBC/",kEnvChange);
27  gEnv->SetValue("Root.Html.OutputDir","htmldoc",kEnvChange);
28  gEnv->SetValue("Root.Html.Root","http://root.cern.ch/root/html",kEnvChange);
29 
30  THtml html;
31  html.MakeAll();
32 }