From: eap Date: Tue, 1 Mar 2011 14:39:19 +0000 (+0000) Subject: 0021196: [CEA 456] Integration and merge modification for debian packages X-Git-Tag: V5_1_main_FINAL~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=02c30ec3a325907e00948b555fd1f41b6001778b;p=modules%2Fgeom.git 0021196: [CEA 456] Integration and merge modification for debian packages make docs to work in docutils and not to generate anything during make install --- diff --git a/doc/docutils/Makefile.am b/doc/docutils/Makefile.am index 16ec48f2d..86da0a7b9 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+= images @@ -47,17 +49,17 @@ SPHINX_LD_LIBRARY_PATH = $(KERNEL_ROOT_DIR)/lib/salome:$(OMNIORB_ROOT)/lib htm: mkdir -p html doctrees - PYTHONPATH=$(SPHINX_PYTHONPATH):${PYTHONPATH}; \ - LD_LIBRARY_PATH=$(SPHINX_LD_LIBRARY_PATH):${LD_LIBRARY_PATH}; \ - $(SPHINXBUILD) -W -b html $(ALLSPHINXOPTS) html + PYTHONPATH=$(SPHINX_PYTHONPATH):${PYTHONPATH} \ + LD_LIBRARY_PATH=$(SPHINX_LD_LIBRARY_PATH):${LD_LIBRARY_PATH} \ + $(SPHINXBUILD) -c $(top_builddir)/doc/docutils -W -b html $(ALLSPHINXOPTS) html @echo @echo "Build finished. The HTML pages are in html." latex: mkdir -p latex doctrees - PYTHONPATH=$(SPHINX_PYTHONPATH):${PYTHONPATH}; \ - LD_LIBRARY_PATH=$(SPHINX_LD_LIBRARY_PATH):${LD_LIBRARY_PATH}; \ - $(SPHINXBUILD) -W -b latex $(ALLSPHINXOPTS) latex + PYTHONPATH=$(SPHINX_PYTHONPATH):${PYTHONPATH} \ + LD_LIBRARY_PATH=$(SPHINX_LD_LIBRARY_PATH):${LD_LIBRARY_PATH} \ + $(SPHINXBUILD) -c $(top_builddir)/doc/docutils -W -b latex $(ALLSPHINXOPTS) latex @echo @echo "Build finished; the LaTeX files are in latex." @echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \ @@ -73,10 +75,7 @@ RSTFILES= \ EXTRA_DIST+= $(RSTFILES) -EXTRA_DIST+= \ - conf.py - -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) ; \