krb5 commit: Always rebuild rst_composite in src/doc
Greg Hudson
ghudson at MIT.EDU
Thu Oct 25 12:56:10 EDT 2012
https://github.com/krb5/krb5/commit/db4f4b55cd93c86909d4aa140df61af71cbc92af
commit db4f4b55cd93c86909d4aa140df61af71cbc92af
Author: Greg Hudson <ghudson at mit.edu>
Date: Thu Oct 25 12:51:17 2012 -0400
Always rebuild rst_composite in src/doc
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 | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/doc/Makefile.in b/src/doc/Makefile.in
index b6a3def..4fcbb67 100644
--- a/src/doc/Makefile.in
+++ b/src/doc/Makefile.in
@@ -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 && \
More information about the cvs-krb5
mailing list