Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
makeloghtml.C
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file makeloghtml.C
1 {
2  G__loadfile("./include/RDBC/config.h");
3  if(!gSystem->AccessPathName("./odbc/.libs/libRDBC.so")) gSystem->Load("./odbc/.libs/libRDBC.so");
4  else gSystem->Load("libRDBC");
5 
6  TString comment = RDBC_PACKAGE;
7  comment += " Version ";
8  comment += RDBC_VERSION;
9  comment += " Release Notes";
10 
11  cout << endl;
12  cout << "Generating hyperized version of ChangeLog in directory htmldoc/examples..." << endl;
13  cout << endl;
14 
15  gEnv->SetValue("Unix.*.Root.Html.SourceDir","./:odbc/:include/RDBC/",kEnvChange);
16  gEnv->SetValue("Root.Html.OutputDir","htmldoc",kEnvChange);
17  gEnv->SetValue("Root.Html.Root","http://root.cern.ch/root/html",kEnvChange);
18 
19  THtml html;
20  html.Convert("ChangeLog",comment.Data());
21 }