Revision 06a6f2cc Makefile.am
b/Makefile.am | ||
---|---|---|
612 | 612 |
exit 1; \ |
613 | 613 |
fi |
614 | 614 |
endif |
615 |
## Sphinx provides little control over what content should be included. Some |
|
616 |
## mechanisms exist, but they all have drawbacks or actual issues. Since we |
|
617 |
## build two different versions of the documentation--once without man pages and |
|
618 |
## once, if enabled, with them--some control is necessary. xmpp-wrapper provides |
|
619 |
## us with this, but requires running in a temporary directory. It moves the |
|
620 |
## correct files into place depending on environment variables. |
|
615 | 621 |
dir=$(dir $@) && \ |
616 | 622 |
@mkdir_p@ $$dir && \ |
617 |
PYTHONPATH=. ENABLE_MANPAGES=$(ENABLE_MANPAGES) \ |
|
618 |
$(RUN_IN_TEMPDIR) bash autotools/sphinx-wrapper $(SPHINX) -q -W -b html \
|
|
623 |
PYTHONPATH=. ENABLE_MANPAGES=$(ENABLE_MANPAGES) COPY_DOC=1 \
|
|
624 |
$(RUN_IN_TEMPDIR) autotools/sphinx-wrapper $(SPHINX) -q -W -b html \ |
|
619 | 625 |
-d . \ |
620 | 626 |
-D version="$(VERSION_MAJOR).$(VERSION_MINOR)" \ |
621 | 627 |
-D release="$(PACKAGE_VERSION)" \ |
Also available in: Unified diff