From 896295117324f323c0b8db6a31ad6ebfaa88793d Mon Sep 17 00:00:00 2001 From: Jia Tan Date: Fri, 17 Mar 2023 01:30:36 +0800 Subject: Doc: Rename Doxygen HTML doc directory name liblzma => api. When the docs are installed, calling the directory "liblzma" is confusing since multiple other files in the doc directory are for liblzma. This should also make it more natural for distros when they package the documentation. --- doxygen/update-doxygen | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'doxygen/update-doxygen') diff --git a/doxygen/update-doxygen b/doxygen/update-doxygen index e5f3ab43..a5103199 100755 --- a/doxygen/update-doxygen +++ b/doxygen/update-doxygen @@ -45,16 +45,16 @@ PACKAGE_VERSION=`cd .. && sh build-aux/version.sh` || exit 1 # If no arguments are specified, default to generating liblzma API header # documentation only. case $1 in - '' | liblzma) + '' | api) # Remove old documentation before re-generating the new. - rm -rf ../doc/liblzma + rm -rf ../doc/api # Generate the HTML documentation by preparing the Doxyfile # in stdin and piping the result to the doxygen command. # With Doxygen, the last assignment of a value to a tag will # override any earlier assignment. So, we can use this # feature to override the tags that need to change between - # "liblzma" and "internal" modes. + # "api" and "internal" modes. ( cat Doxyfile echo "PROJECT_NUMBER = $PACKAGE_VERSION" @@ -70,14 +70,14 @@ case $1 in # itself, and doesn't include the actual license text (it # only refers to the MIT license by name). echo "Stripping JavaScript from Doxygen output..." - for F in ../doc/liblzma/*.html + for F in ../doc/api/*.html do sed 's/