[cig-commits] r18372 - short/3D/PyLith/pylith_installer/trunk
brad at geodynamics.org
brad at geodynamics.org
Sat May 14 20:08:23 PDT 2011
Author: brad
Date: 2011-05-14 20:08:23 -0700 (Sat, 14 May 2011)
New Revision: 18372
Modified:
short/3D/PyLith/pylith_installer/trunk/Makefile.am
Log:
Replace abs_builddir with top_builddir for compatibility with CentOS (older redhat).
Modified: short/3D/PyLith/pylith_installer/trunk/Makefile.am
===================================================================
--- short/3D/PyLith/pylith_installer/trunk/Makefile.am 2011-05-15 03:06:35 UTC (rev 18371)
+++ short/3D/PyLith/pylith_installer/trunk/Makefile.am 2011-05-15 03:08:23 UTC (rev 18372)
@@ -590,6 +590,7 @@
$(FETCH_SCRIPT) "$(downloader)" petsc-dev-pylith-$(PYLITH_VER).tgz http://www.geodynamics.org/cig/software/pylith
$(TAR) -zxf petsc-dev-pylith-$(PYLITH_VER).tgz
endif
+ abs_builddir=`pwd`
cd petsc-dev && \
./configure --prefix=$(prefix) \
--with-c2html=0 --with-x=0 \
@@ -601,10 +602,10 @@
--with-sieve=1 \
--download-boost=1 \
$(petsc_options) $(env_flags) \
- PETSC_DIR=$(top_builddir)/petsc-dev ; \
- make PETSC_DIR=$(top_builddir)/petsc-dev && \
- make PETSC_DIR=$(top_builddir)/petsc-dev install && \
- make PETSC_DIR=$(top_builddir)/petsc-dev test && \
+ PETSC_DIR=$(abs_builddir)/petsc-dev ; \
+ make PETSC_DIR=$(abs_builddir)/petsc-dev && \
+ make PETSC_DIR=$(abs_builddir)/petsc-dev install && \
+ make PETSC_DIR=$(abs_builddir)/petsc-dev test && \
touch ../installed_petsc
else
@echo "$@ already installed. Skipping installation."
More information about the CIG-COMMITS
mailing list