From de50863de2963f06db92870178a1384e6644571d Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 3 Mar 2011 07:33:02 +0000 Subject: [PATCH] 0021196: [CEA 456] Integration and merge modification for debian packages We think that building and installing the documentation should not be the default behavior but reserved to interested users --- doc/docutils/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/docutils/Makefile.am b/doc/docutils/Makefile.am index dbed1cc91..995cd9415 100644 --- a/doc/docutils/Makefile.am +++ b/doc/docutils/Makefile.am @@ -31,6 +31,8 @@ if SPHINX_IS_OK html/index.html:$(RSTFILES) make htm +usr_docs: html/index.html + endif EXTRA_DIST = archives @@ -74,7 +76,7 @@ RSTFILES= \ EXTRA_DIST+= $(RSTFILES) -install-data-local: html/index.html +install-data-local: test -z $(pydocdir) || mkdir -p $(DESTDIR)$(pydocdir) if test -d "html"; then b=; else b="$(srcdir)/"; fi; \ cp -rf $$b"html"/* $(pydocdir) ; \ -- 2.39.2