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

configure.ac
doc/docutils/Makefile.am

index dc4002b6a23b8b832109ed89502704799a22203c..e5cd6f12731bd84564fe4b9cd9c771ea4f5ef4d1 100644 (file)
@@ -72,9 +72,6 @@ dnl Export the AR macro so that it will be placed in the libtool file
 dnl correctly.
 export AR
 
-AC_PROG_MKDIR_P
-AC_SUBST(MKDIR_P)
-
 echo
 echo ---------------------------------------------
 echo testing make
index 28e175dc4a8f9be965268adf5f7e7f13cf93159a..2ee8d7991b13450e5021e92e1f213faa7ca61dcf 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 \
@@ -77,7 +77,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"/geompy.pdf; then cp -f $$b"latex"/geompy.pdf $(pydocdir) ; fi;