eccodes/doxygen/make_dox.sh

35 lines
804 B
Bash
Raw Permalink Normal View History

2013-03-25 12:04:10 +00:00
#!/bin/sh
2016-07-11 10:37:33 +00:00
# No need to do tools. We use another mechanism. See top-level
# confluence directory
#cd ../tools
#./make_dox.ksh
#cd ../doxygen
2016-06-16 17:49:55 +00:00
2016-07-11 10:37:33 +00:00
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
2016-07-12 15:15:03 +00:00
2016-07-11 10:37:33 +00:00
rm -fr ../html/*
2013-03-25 12:04:10 +00:00
touch ../html/Makefile.am
2017-12-13 14:27:10 +00:00
doxygen --version
2013-03-25 12:04:10 +00:00
doxygen grib_api_wiz.cfg
2016-07-11 10:37:33 +00:00
# Do not copy this. Use default generated doxygen.css
# cp doxygen.css ../html/
2016-09-27 13:18:30 +00:00
# Change the links from example code back to confluence
2016-09-29 08:56:15 +00:00
./convert_links.sh
2016-09-27 13:18:30 +00:00
# Note:
# May have to edit html/interfaceeccodes_1_1codes__set.html
# to remove the weird */ inserted for subroutine 'codes_set_string'
2016-07-11 10:37:33 +00:00
# Remove temp files
rm -f eccodes.h
rm -f ecCodes.py
echo DONE