#!/bin/sh # No need to do tools. We use another mechanism. See top-level # confluence directory #cd ../tools #./make_dox.ksh #cd ../doxygen set -e ./process_C_header.pl ../src/grib_api.h ../src/eccodes.h > eccodes.h # Python doxygen module will be "ecCodes" to distinguish it from "eccodes" for F90 ./process_python.pl ../python/gribapi.py > ecCodes.py rm -fr ../html/* touch ../html/Makefile.am doxygen grib_api_wiz.cfg # Do not copy this. Use default generated doxygen.css # cp doxygen.css ../html/ # Remove temp files rm -f eccodes.h rm -f ecCodes.py # Hack. Change the links from any example code to confluence F90_file=../html/classeccodes.html Py_file=../html/namespaceec_codes.html fnames=" bufr_get_keys grib_index grib_get_keys grib_clone grib_copy_message count_messages samples set_missing " for fn in $fnames; do perl -p -i -e "s|$fn\.f90|$fn.f90|" $F90_file done echo DONE