Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:08:25

0001 #!/bin/tcsh
0002 
0003 cmsenv
0004 
0005 set PWDv    = `pwd`
0006 set SOURCE  = $CMSSW_BASE/src
0007 set SCRIPTS = $CMSSW_BASE/src/Documentation/ReferenceManualScripts/python
0008 set DATA    = $CMSSW_BASE/src/Documentation/ReferenceManualScripts/data
0009 set DOC     = $CMSSW_BASE/doc
0010 set HTML    = $DOC/html
0011 
0012 if (-e $DOC) then
0013     rm -Rf $DOC
0014 endif
0015 
0016 mkdir $DOC
0017 
0018 sed -e 's|@CMSSW_IN@|'$SOURCE'|g' -e 's|@CMSSW_OUT@|'$DOC'|g' -e 's|@DOXY_PATH@|'$DATA'|g' $DATA/Doxygen.conf > $DATA/Doxygen.conf.tmp
0019 
0020 doxygen $DATA/Doxygen.conf.tmp
0021 
0022 rm $DATA/Doxygen.conf.tmp
0023 
0024 cp -r $DATA/iframes $HTML/
0025 
0026 cp $HTML/index.html $HTML/index.original.html
0027 python $SCRIPTS/MainPageGenerator.py $HTML/index.html $DATA $CMSSW_VERSION
0028 
0029 # backup original pages
0030 cp $HTML/annotated.html $HTML/annotated.original.html
0031 cp $HTML/namespaces.html $HTML/namespaces.original.html
0032 cp $HTML/pages.html $HTML/pages.original.html
0033 
0034 cp $HTML/annotated.original.html $HTML/annotatedList.html
0035 python $SCRIPTS/TableParser.py $HTML/annotatedList.html
0036 cp $HTML/annotatedList_A.html $HTML/annotated.html
0037 
0038 cp $HTML/namespaces.original.html $HTML/namespaceList.html
0039 python $SCRIPTS/TableParser.py $HTML/namespaceList.html
0040 cp $HTML/namespaceList_A.html $HTML/namespaces.html
0041 
0042 cp $HTML/pages.original.html $HTML/packageDocumentation.html
0043 python $SCRIPTS/TableParser.py $HTML/packageDocumentation.html
0044 cp $HTML/packageDocumentation_All.html $HTML/pages.html
0045 
0046 cp $HTML/namespaces.original.html $HTML/configfilesList.html
0047 python $SCRIPTS/TableParser.py $HTML/configfilesList.html
0048 cp $HTML/configfilesList_All.html $HTML/configfiles.html
0049 
0050 cd $CMSSW_BASE/..
0051 find $CMSSW_VERSION/doc -type f -name "*.html" > $CMSSW_BASE/$CMSSW_VERSION.index
0052 cd $PWDv
0053 
0054 echo "## In case of a problem, please email cmsdoxy[at]cern.ch ##"