Index: slepc/config/install.py
===================================================================
--- slepc.orig/config/install.py
+++ slepc/config/install.py
@@ -8,23 +8,23 @@ except NameError:
 
 class Installer:
   def __init__(self, args = None):
-    if len(args)<6:
+    if len(args)<7:
       print '********************************************************************'
       print 'Installation script error - not enough arguments:'
-      print './config/install.py SLEPC_DIR PETSC_DIR PETSC_ARCH DESTDIR LIB_SUFFIX RANLIB'
+      print './config/install.py SLEPC_DIR PETSC_DIR PETSC_ARCH INSTALLDIR DESTDIR LIB_SUFFIX RANLIB'
       print '********************************************************************'
       sys.exit(1)
     self.rootDir     = args[0]
     self.petscDir    = args[1]
-    self.destDir     = os.path.abspath(args[2])
-    self.arch        = args[3]
-    self.arLibSuffix = args[4]
-    self.ranlib      = ' '.join(args[5:])
+    self.installDir  = os.path.abspath(args[2])
+    self.destDir     = os.path.abspath(args[3])
+    self.arch        = args[4]
+    self.arLibSuffix = args[5]
+    self.ranlib      = ' '.join(args[6:])
     self.copies = []
     return
 
   def setupDirectories(self):
-    self.installDir        = self.destDir
     self.archDir           = os.path.join(self.rootDir, self.arch)
     self.rootIncludeDir    = os.path.join(self.rootDir, 'include')
     self.archIncludeDir    = os.path.join(self.rootDir, self.arch, 'include')
Index: slepc/makefile
===================================================================
--- slepc.orig/makefile
+++ slepc/makefile
@@ -253,7 +253,7 @@ chk_slepc_dir:
 # Install relevant files in the prefix directory
 #
 install:
-	-@${PYTHON} ./config/install.py ${SLEPC_DIR} ${PETSC_DIR} ${SLEPC_DESTDIR} ${PETSC_ARCH} ${AR_LIB_SUFFIX} ${RANLIB};
+	-@${PYTHON} ./config/install.py ${SLEPC_DIR} ${PETSC_DIR} ${SLEPC_INSTALLDIR} ${SLEPC_DESTDIR} ${PETSC_ARCH} ${AR_LIB_SUFFIX} ${RANLIB};
 
 # ------------------------------------------------------------------
 #
