]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Always rebuild rst_composite in src/doc
authorGreg Hudson <ghudson@mit.edu>
Thu, 25 Oct 2012 16:51:17 +0000 (12:51 -0400)
committerGreg Hudson <ghudson@mit.edu>
Thu, 25 Oct 2012 16:55:58 +0000 (12:55 -0400)
Avoid using "rst_composite" as the target name for building the
rst_composite directory, since we can't give it proper dependencies.
Instead use the target name "composite", which (like "html", "clean",
etc.) doesn't correspond to the name of a file or directory created by
the build rules.

src/doc/Makefile.in

index b6a3defdbd967b3b7e0f076044f9931ff3fe3d7e..4fcbb67a0966882b6eeae3331fd4c077b9fbb943 100644 (file)
@@ -35,14 +35,14 @@ RST_SOURCES= _static \
 # with:
 #     make -f Makefile.in srcdir=. top_srcdir=.. PYTHON=python html
 #     make -f Makefile.in clean
-html: rst_composite
+html: composite
        rm -rf $(docsrc)/html
        $(SPHINX_BUILD) -q rst_composite $(docsrc)/html
 
 # Create HTML documentation in html_subst suitable for
 # installation by an OS package, with substitutions for configured
 # paths.
-substhtml: rst_composite paths.py
+substhtml: composite paths.py
        rm -rf html_subst
        cp paths.py rst_composite
        $(SPHINX_BUILD) -t pathsubs -q rst_composite html_subst
@@ -57,7 +57,7 @@ NOTICE: notice.txt
 # Use doxygen to generate API documentation, translate it into RST
 # format, and then create a composite of $(docsrc)'s RST and the
 # generated files in rst_composite.  Used by the html and substhtml targets.
-rst_composite: Doxyfile
+composite: Doxyfile
        rm -rf doxy rst_apiref rst_composite
        $(DOXYGEN)
        cwd=`pwd`; cd $(docsrc)/tools && \