diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 18:07:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 18:07:14 +0000 |
commit | a175314c3e5827eb193872241446f2f8f5c9d33c (patch) | |
tree | cd3d60ca99ae00829c52a6ca79150a5b6e62528b /storage/mroonga/vendor/groonga/build/makefiles/sphinx.am | |
parent | Initial commit. (diff) | |
download | mariadb-10.5-a175314c3e5827eb193872241446f2f8f5c9d33c.tar.xz mariadb-10.5-a175314c3e5827eb193872241446f2f8f5c9d33c.zip |
Adding upstream version 1:10.5.12.upstream/1%10.5.12upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | storage/mroonga/vendor/groonga/build/makefiles/sphinx.am | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/storage/mroonga/vendor/groonga/build/makefiles/sphinx.am b/storage/mroonga/vendor/groonga/build/makefiles/sphinx.am new file mode 100644 index 00000000..161abe06 --- /dev/null +++ b/storage/mroonga/vendor/groonga/build/makefiles/sphinx.am @@ -0,0 +1,80 @@ +include $(top_srcdir)/doc/files.am +include $(top_srcdir)/build/makefiles/sphinx-build.am + +$(html_files): html-build-stamp +$(html_files_relative_from_locale_dir): html-build-stamp + +am__nobase_dist_doc_locale_DATA_DIST = +if DOCUMENT_AVAILABLE +doc_localedir = $(docdir)/$(LOCALE) +nobase_dist_doc_locale_DATA = \ + $(html_files_relative_from_locale_dir) +am__nobase_dist_doc_locale_DATA_DIST += \ + $(nobase_dist_doc_locale_DATA) +endif + +document_source_files = \ + $(absolute_source_files) \ + $(absolute_theme_files) \ + $(po_files_relative_from_locale_dir) \ + $(mo_files_relative_from_locale_dir) + +required_build_stamps = \ + html-build-stamp \ + mo-build-stamp + +if DOCUMENT_BUILDABLE +EXTRA_DIST += $(required_build_stamps) +endif + +generated_files = \ + $(DOCTREES_BASE) \ + html \ + html-build-stamp + +$(mo_files_relative_from_locale_dir): mo-build-stamp + +mo-build-stamp: $(po_files_relative_from_locale_dir) + cd LC_MESSAGES && $(MAKE) build + @touch $@ + +if DOCUMENT_BUILDABLE +clean-local: $(clean_targets) clean-doctrees + +clean-doctrees: + rm -rf $(DOCTREES_BASE) + +maintainer-clean-local: + rm -rf -- $(generated_files) +endif + +.PHONY: help +.PHONY: html clean-html + +if DOCUMENT_BUILDABLE +help: + @echo "Please use \`make <target>' where <target> is one of" + @echo " html to make standalone HTML files" + +html: html-recursive html-build-stamp + +clean_targets = \ + clean-html + +$(clean_targets): + target=`echo $@ | sed -e 's/^clean-//'`; \ + rm -rf $${target}-build-stamp $${target} + +build_stamps = \ + html-build-stamp + +$(build_stamps): $(document_source_files) + target=`echo $@ | sed -e 's/-build-stamp$$//'`; \ + $(SPHINX_BUILD_COMMAND) \ + -Dlanguage=$(LOCALE) \ + -d $(DOCTREES_BASE)/$${target} \ + -b $${target} \ + $(ALLSPHINXOPTS) \ + $${target} + @touch $@ +endif |