mkdoc (1767B)
1 #!/bin/sh 2 # This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. 3 # 4 # Copyright 2007-2019 Broadcom Inc. All rights reserved. 5 # 6 7 export DOXYGENVER=1.8.2 8 9 # Save start directory 10 CURDIR=`pwd` 11 12 # Allow overrides for PHYMOD and build directories 13 if [ "$PHYMOD" == "" ]; then 14 PHYMOD=$CURDIR/.. 15 fi 16 if [ "$BLDDIR" == "" ]; then 17 BLDDIR=$PHYMOD/doc 18 fi 19 20 # Create Doxygen source directory 21 DOXYDIR=$BLDDIR/dox 22 rm -rf $DOXYDIR 23 mkdir -p $DOXYDIR 24 25 # Populate Doxygen source directory 26 cd $DOXYDIR 27 ln -s $PHYMOD/include/phymod/phymod_doc.h . 28 ln -s $PHYMOD/chip/tscf/tier1/tefmod_doc.h . 29 ln -s $PHYMOD/chip/tscf/tier1/tefmod_cfg_seq.c . 30 ln -s $PHYMOD/chip/tscf/tier1/tefmod_sc_lkup_table.h . 31 ln -s $PHYMOD/chip/tscf/tier1/tefmod_enum_defines.c . 32 ln -s $PHYMOD/chip/tscf/tier1/tefmod_enum_defines.h . 33 ln -s $PHYMOD/chip/tscf/tier1/tefmod.h . 34 ln -s $PHYMOD/chip/tsce/tier1/xlm_tsc_doc.h . 35 ln -s $PHYMOD/chip/tsce/tier1/temod.h . 36 ln -s $PHYMOD/chip/tsce/tier1/temod_enum_defines.h . 37 ln -s $PHYMOD/chip/tsce/tier1/temod_sc_lkup_table.h . 38 ln -s $PHYMOD/chip/tsce/tier1/temod_sc_lkup_table.c . 39 ln -s $PHYMOD/chip/tsce/tier1/temod_diagnostics.c . 40 ln -s $PHYMOD/chip/tsce/tier1/temod_doc.h . 41 ln -s $PHYMOD/chip/tsce/tier1/temod_enum_defines.c . 42 ln -s $PHYMOD/chip/tsce/tier1/temod_cfg_seq.c . 43 ln -s $PHYMOD/chip/eagle/tier1/eagle_tsc_interface.h 44 ln -s $PHYMOD/chip/falcon/tier1/falcon_tsc_functions.h 45 ln -s $PHYMOD/chip/falcon/tier1/falcon_tsc_interface.h 46 ln -s $PHYMOD/include/phymod/phymod.h . 47 ln -s $PHYMOD/include/phymod/phymod_diagnostics.h . 48 ln -s $PHYMOD/include/phymod/all_doc.h . 49 cd $BLDDIR 50 51 # Do the magic 52 doxygen 53 54 # Remove Doxygen source directory 55 #rm -rf $DOXYDIR 56 57 # Return to start 58 cd $CURDIR