diff options
author | Jia Tan <jiat0218@gmail.com> | 2023-03-16 21:35:55 +0800 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2023-03-17 01:42:28 +0800 |
commit | 1321852a3be7196bd7fcfd146221a5669e46407c (patch) | |
tree | 07b1c190d73ef3e4650f7f698ec80bed46597229 /Makefile.am | |
parent | b1216a7772952d2fe7fe9c6acfcbd98d30abbc7b (diff) | |
download | xz-1321852a3be7196bd7fcfd146221a5669e46407c.tar.gz |
Build: Create doxygen/update-doxygen script.
This is a helper script to generate the Doxygen documentation. It can be
run in 'liblzma' or 'internal' mode by setting the first argument. It
will default to 'liblzma' mode and only generate documentation for the
liblzma API header files.
The helper script will be run during the custom mydist hook when we
create releases. This hook already alters the source directory, so its
fine to do it here too. This way, we can include the Doxygen generated
files in the distrubtion and when installing.
In 'liblzma' mode, the JavaScript is stripped from the .html files and
the .js files are removed. This avoids license hassle from jQuery and
other libraries that Doxygen 1.9.6 puts into jquery.js in minified form.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 0df658f..6d52e0f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -124,6 +124,7 @@ dist-hook: mydist: sh "$(srcdir)/src/liblzma/validate_map.sh" cd "$(srcdir)/po4a" && sh update-po + cd "$(srcdir)/doxygen" && sh update-doxygen VERSION=$(VERSION); \ if test -d "$(srcdir)/.git" && type git > /dev/null 2>&1; then \ SNAPSHOT=`cd "$(srcdir)" && git describe --abbrev=4 | cut -b2-`; \ |