diff options
author | Jia Tan <jiat0218@gmail.com> | 2023-03-17 01:30:36 +0800 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2023-03-17 20:19:16 +0800 |
commit | 896295117324f323c0b8db6a31ad6ebfaa88793d (patch) | |
tree | a8484e20aa6635dc48a8ec2b04bf8614885470bc /Makefile.am | |
parent | liblzma: Remove note from lzma_options_bcj about the ARM64 exception. (diff) | |
download | xz-896295117324f323c0b8db6a31ad6ebfaa88793d.tar.xz |
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.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Makefile.am b/Makefile.am index 6d52e0f0..f562f902 100644 --- a/Makefile.am +++ b/Makefile.am @@ -47,15 +47,15 @@ dist_examplesold_DATA = \ # Install the Doxygen generated documentation if they were built. install-data-local: - if test -d "$(srcdir)/doc/liblzma" ; then \ - $(MKDIR_P) "$(DESTDIR)$(docdir)/liblzma" && \ - $(INSTALL_DATA) "$(srcdir)"/doc/liblzma/* \ - "$(DESTDIR)$(docdir)/liblzma"; \ + if test -d "$(srcdir)/doc/api" ; then \ + $(MKDIR_P) "$(DESTDIR)$(docdir)/api" && \ + $(INSTALL_DATA) "$(srcdir)"/doc/api/* \ + "$(DESTDIR)$(docdir)/api"; \ fi # Remove the Doxygen generated documentation when uninstalling. uninstall-local: - rm -rf "$(DESTDIR)$(docdir)/liblzma" + rm -rf "$(DESTDIR)$(docdir)/api" endif EXTRA_DIST = \ @@ -112,10 +112,10 @@ dist-hook: > "$$dest/txt/$$BASE.txt"; \ done; \ fi - if test -d "$(srcdir)/doc/liblzma" ; then \ - $(MKDIR_P) "$(distdir)/doc/liblzma" && \ - $(INSTALL_DATA) "$(srcdir)"/doc/liblzma/* \ - "$(distdir)/doc/liblzma"; \ + if test -d "$(srcdir)/doc/api" ; then \ + $(MKDIR_P) "$(distdir)/doc/api" && \ + $(INSTALL_DATA) "$(srcdir)"/doc/api/* \ + "$(distdir)/doc/api"; \ fi # This works with GNU tar and gives cleaner package than normal 'make dist'. |