]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix configure problem (caused by previous integration).
authorvsr <vsr@opencascade.com>
Mon, 4 Oct 2010 09:27:27 +0000 (09:27 +0000)
committervsr <vsr@opencascade.com>
Mon, 4 Oct 2010 09:27:27 +0000 (09:27 +0000)
AC_PROG_MKDIR_P is not available for autoconf 2.59 (Debian Sarge, Mandriva 2006)

configure.ac
doc/docutils/Makefile.am

index 148d9225fc24c2ce604af434fafbb126346238d8..7e6479505ce608b4daeb75ac66a3e780070c6862 100644 (file)
@@ -115,9 +115,6 @@ if test -z "$AR"; then
 fi
 AC_SUBST(AR)
 
-AC_PROG_MKDIR_P
-AC_SUBST(MKDIR_P)
-
 echo
 echo ---------------------------------------------
 echo testing make
index a3d58c1b9838bd1beed9299efdf3c87124fd4229..84bfcf1042b49a399a0870d385d5c7d9cfe11d86 100644 (file)
@@ -46,7 +46,7 @@ SPHINX_PYTHONPATH = $(prefix)/lib/python$(PYTHON_VERSION)/site-packages/salome:$
 SPHINX_LD_LIBRARY_PATH = $(OMNIORB_ROOT)/lib
 
 htm:
-       $(MKDIR_P) html doctrees
+       mkdir -p html doctrees
        PYTHONPATH=$(SPHINX_PYTHONPATH):${PYTHONPATH}; \
        LD_LIBRARY_PATH=$(SPHINX_LD_LIBRARY_PATH):${LD_LIBRARY_PATH}; \
        $(SPHINXBUILD) -W -b html $(ALLSPHINXOPTS) html
@@ -54,7 +54,7 @@ htm:
        @echo "Build finished. The HTML pages are in html."
 
 latex:
-       $(MKDIR_P) latex doctrees
+       mkdir -p latex doctrees
        PYTHONPATH=$(SPHINX_PYTHONPATH):${PYTHONPATH}; \
        LD_LIBRARY_PATH=$(SPHINX_LD_LIBRARY_PATH):${LD_LIBRARY_PATH}; \
        $(SPHINXBUILD) -W -b latex $(ALLSPHINXOPTS) latex
@@ -64,7 +64,7 @@ latex:
              "run these through (pdf)latex."
 
 html:
-       $(MKDIR_P)  $@
+       mkdir -p $@
 
 RSTFILES= \
        index.rst \
@@ -78,7 +78,7 @@ EXTRA_DIST+= \
        conf.py 
 
 install-data-local: html/index.html
-       test -z $(pydocdir) || $(MKDIR_P) $(DESTDIR)$(pydocdir)
+       test -z $(pydocdir) || mkdir -p $(DESTDIR)$(pydocdir)
        if test -d "html"; then b=; else b="$(srcdir)/"; fi; \
        cp -rf $$b"html"/* $(pydocdir) ; \
        if test -f $$b"latex"/kernelpy.pdf; then cp -f $$b"latex"/kernelpy.pdf $(pydocdir) ; fi;