[mpich2-commits] r8076 - mpich2/trunk/src/mpe2

chan at mcs.anl.gov chan at mcs.anl.gov
Mon Feb 28 15:20:20 CST 2011


Author: chan
Date: 2011-02-28 15:20:20 -0600 (Mon, 28 Feb 2011)
New Revision: 8076

Modified:
   mpich2/trunk/src/mpe2/Makefile.in
Log:
added support for "make install prefix=...." besides "make install PREFIX=...".



Modified: mpich2/trunk/src/mpe2/Makefile.in
===================================================================
--- mpich2/trunk/src/mpe2/Makefile.in	2011-02-28 21:17:05 UTC (rev 8075)
+++ mpich2/trunk/src/mpe2/Makefile.in	2011-02-28 21:20:20 UTC (rev 8076)
@@ -78,6 +78,9 @@
 	 if [ -n "$(PREFIX)" ] ; then \
 	     installopts="-prefix=$(PREFIX) $$installopts" ; \
 	 fi ; \
+	 if [ -n "$(prefix)" ] ; then \
+	     installopts="-prefix=$(prefix) $$installopts" ; \
+	 fi ; \
 	 ./sbin/mpeinstall $$installopts
 
 installcheck:
@@ -88,6 +91,9 @@
 	 if [ -n "$(PREFIX)" ] ; then \
 	     installopts="-prefix=$(PREFIX) $$installopts" ; \
 	 fi ; \
+	 if [ -n "$(prefix)" ] ; then \
+	     installopts="-prefix=$(prefix) $$installopts" ; \
+	 fi ; \
 	 ./sbin/mpecheckinstall $$installopts
 
 installcheck-all:
@@ -103,6 +109,9 @@
 	 if [ -n "$(PREFIX)" ] ; then \
 	     installopts="-prefix=$(PREFIX) $$installopts" ; \
 	 fi ; \
+	 if [ -n "$(prefix)" ] ; then \
+	     installopts="-prefix=$(prefix) $$installopts" ; \
+	 fi ; \
 	 ./sbin/mpecheckinstall $$installopts
 
 uninstall:



More information about the mpich2-commits mailing list