mirror of
git://sourceware.org/git/libabigail.git
synced 2025-01-18 15:20:45 +00:00
Generate the manual html documentation in the proper build directory
* doc/manuals/Makefile.am: Renamed doc/manuals/Makefile into this. (BUILDDIR): Make this variable point to $(builddir)/_build as opposed to just _build previously. (SOURCEDIR): New variable that points to the source dir as known by the autotools magic. (ALLSPHINXOPTS): Make the source dir refer to the new $(SOURCEDIR), rather than just '.' as previously. * configure.ac (doc/manuals/Makefile): Generate this now. * doc/Makefile.am: Link the sub-directory doc/manuals. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
8b381db0b7
commit
7fbe6a96ed
13
configure.ac
13
configure.ac
@ -144,12 +144,13 @@ fi
|
|||||||
|
|
||||||
AC_CONFIG_FILES([Makefile
|
AC_CONFIG_FILES([Makefile
|
||||||
libabigail.pc
|
libabigail.pc
|
||||||
include/Makefile
|
include/Makefile
|
||||||
include/abg-version.h
|
include/abg-version.h
|
||||||
doc/Makefile
|
doc/Makefile
|
||||||
src/Makefile
|
doc/manuals/Makefile
|
||||||
tools/Makefile
|
src/Makefile
|
||||||
tests/Makefile])
|
tools/Makefile
|
||||||
|
tests/Makefile])
|
||||||
|
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
SUBDIRS = manuals
|
||||||
|
|
||||||
html: $(DO_HTML)
|
html: $(DO_HTML)
|
||||||
install-html: $(DO_INSTALL_HTML)
|
install-html: $(DO_INSTALL_HTML)
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
# Makefile for Sphinx documentation
|
# Makefile for Sphinx documentation
|
||||||
#
|
|
||||||
|
|
||||||
# You can set these variables from the command line.
|
# You can set these variables from the command line.
|
||||||
SPHINXOPTS =
|
SPHINXOPTS =
|
||||||
SPHINXBUILD = sphinx-build
|
SPHINXBUILD = sphinx-build
|
||||||
PAPER =
|
PAPER =
|
||||||
BUILDDIR = _build
|
BUILDDIR = $(builddir)/_build
|
||||||
|
SOURCEDIR = $(srcdir)
|
||||||
|
|
||||||
# Internal variables.
|
# Internal variables.
|
||||||
PAPEROPT_a4 = -D latex_paper_size=a4
|
PAPEROPT_a4 = -D latex_paper_size=a4
|
||||||
PAPEROPT_letter = -D latex_paper_size=letter
|
PAPEROPT_letter = -D latex_paper_size=letter
|
||||||
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
|
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) $(SOURCEDIR)
|
||||||
# the i18n builder cannot share the environment and doctrees with the others
|
# the i18n builder cannot share the environment and doctrees with the others
|
||||||
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
|
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
|
||||||
|
|
Loading…
Reference in New Issue
Block a user