From f234ff82ecfca4ef4b548de0f755d3e257b6abb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Thu, 22 Jan 2015 17:01:27 +0000 Subject: [PATCH] Rename doxyfile --- CMakeLists.txt | 2 +- Makefile | 2 +- doxygen/{polarssl.doxyfile => mbedtls.doxyfile} | 0 scripts/bump_version.sh | 4 ++-- scripts/check_doxy_blocks.pl | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) rename doxygen/{polarssl.doxyfile => mbedtls.doxyfile} (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 91041b67f..84854833a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -81,7 +81,7 @@ if(ENABLE_PROGRAMS) endif() ADD_CUSTOM_TARGET(apidoc - COMMAND doxygen doxygen/polarssl.doxyfile + COMMAND doxygen doxygen/mbedtls.doxyfile WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) if(ENABLE_TESTING) diff --git a/Makefile b/Makefile index 538bfcdd0..6eeb97840 100644 --- a/Makefile +++ b/Makefile @@ -76,7 +76,7 @@ lcov: apidoc: mkdir -p apidoc - doxygen doxygen/polarssl.doxyfile + doxygen doxygen/mbedtls.doxyfile apidoc_clean: if [ -d apidoc ] ; \ diff --git a/doxygen/polarssl.doxyfile b/doxygen/mbedtls.doxyfile similarity index 100% rename from doxygen/polarssl.doxyfile rename to doxygen/mbedtls.doxyfile diff --git a/scripts/bump_version.sh b/scripts/bump_version.sh index d3f74c7d3..ae744516a 100755 --- a/scripts/bump_version.sh +++ b/scripts/bump_version.sh @@ -77,8 +77,8 @@ mv tmp include/polarssl/version.h sed -e "s/version:\".\+/version:\"$VERSION\"/g" < tests/suites/test_suite_version.data > tmp mv tmp tests/suites/test_suite_version.data -[ $VERBOSE ] && echo "Bumping PROJECT_NAME in doxygen/polarssl.doxyfile and doxygen/input/doc_mainpage.h" -for i in doxygen/polarssl.doxyfile doxygen/input/doc_mainpage.h; +[ $VERBOSE ] && echo "Bumping PROJECT_NAME in doxygen/mbedtls.doxyfile and doxygen/input/doc_mainpage.h" +for i in doxygen/mbedtls.doxyfile doxygen/input/doc_mainpage.h; do sed -e "s/mbed TLS v[0-9\.]\+/mbed TLS v$VERSION/g" < $i > tmp mv tmp $i diff --git a/scripts/check_doxy_blocks.pl b/scripts/check_doxy_blocks.pl index d547a624f..2601d88a8 100755 --- a/scripts/check_doxy_blocks.pl +++ b/scripts/check_doxy_blocks.pl @@ -4,7 +4,7 @@ # # More precisely, look for normal comment block containing '\'. # Of course one could use doxygen warnings, eg with: -# sed -e '/EXTRACT/s/YES/NO/' doxygen/polarssl.doxyfile | doxygen - +# sed -e '/EXTRACT/s/YES/NO/' doxygen/mbedtls.doxyfile | doxygen - # but that would warn about any undocumented item, while our goal is to find # items that are documented, but not marked as such by mistake.