aboutsummaryrefslogtreecommitdiff
path: root/src/doc
diff options
context:
space:
mode:
authorBen Kaduk <kaduk@mit.edu>2012-12-11 00:13:30 -0500
committerBen Kaduk <kaduk@mit.edu>2012-12-11 16:34:58 -0500
commitf6ef297fe537de3712fce751bad8a597ef32e0ed (patch)
treecf97199a762d0ec9872b2a536938b330440a7761 /src/doc
parentf2cec6d908a8b15908f4de199540e5ad3486882b (diff)
downloadkrb5-f6ef297fe537de3712fce751bad8a597ef32e0ed.zip
krb5-f6ef297fe537de3712fce751bad8a597ef32e0ed.tar.gz
krb5-f6ef297fe537de3712fce751bad8a597ef32e0ed.tar.bz2
Make building docs easier in an unconfigured tree
Instead of requiring the user to specify srcdir, top_srcdir, PYTHON, and possibly more in the future, make an 'htmlsrc' target that does so for them. This also lets us do the clean in the same step, so that only one command is required of the user. ticket: 7491 (new) tags: pullup target_version: 1.11
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/Makefile.in9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/doc/Makefile.in b/src/doc/Makefile.in
index 5f378bc..1d97728 100644
--- a/src/doc/Makefile.in
+++ b/src/doc/Makefile.in
@@ -36,13 +36,16 @@ LATEXOPTS=
# Create HTML documentation in $(docsrc)/html suitable for a
# release tarball or the web site (that is, without substitutions for
# configured paths). This can be done in an unconfigured source tree
-# with:
-# make -f Makefile.in srcdir=. top_srcdir=.. PYTHON=python html
-# make -f Makefile.in clean
+# as:
+# make -f Makefile.in htmlsrc
html: composite
rm -rf $(docsrc)/html
$(SPHINX_BUILD) -q rst_composite $(docsrc)/html
+# Dummy target for use in an unconfigured source tree.
+htmlsrc:
+ $(MAKE) -f Makefile.in srcdir=. top_srcdir=.. PYTHON=python html clean
+
# Create HTML documentation in html_subst suitable for
# installation by an OS package, with substitutions for configured
# paths.