]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
0021196: [CEA 456] Integration and merge modification for debian packages
authoreap <eap@opencascade.com>
Tue, 1 Mar 2011 14:39:19 +0000 (14:39 +0000)
committereap <eap@opencascade.com>
Tue, 1 Mar 2011 14:39:19 +0000 (14:39 +0000)
make docs to work in docutils and not to generate anything during make install

doc/docutils/Makefile.am

index 16ec48f2dc6cf218dfcb4680dc3c683f0d0bba59..86da0a7b92f954f068dd7506244e46484c0c161b 100644 (file)
@@ -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) ; \