Blob Blame Raw
--- ParaView3/Applications/Client/CMakeLists.txt.doc	2009-07-21 16:12:15.214230597 -0600
+++ ParaView3/Applications/Client/CMakeLists.txt	2009-07-21 16:19:41.606170088 -0600
@@ -130,7 +130,7 @@
       IMMEDIATE)
   INSTALL(
       FILES "${CMAKE_CURRENT_BINARY_DIR}/CMake/tmp/pqClientDocFinder.txt"
-      DESTINATION ${PV_INSTALL_BIN_DIR}
+      DESTINATION "/usr/share/paraview"
       COMPONENT Runtime)
 ENDIF(NOT PV_INSTALL_NO_RUNTIME)
 
--- ParaView3/Applications/OverView/Core/MainWindow.cxx.doc	2009-07-20 13:36:12.000000000 -0600
+++ ParaView3/Applications/OverView/Core/MainWindow.cxx	2009-07-21 16:13:56.103167958 -0600
@@ -987,7 +987,7 @@
   if(profileFile.isEmpty())
     {
     // see if help is bundled up with the application
-    QString profile = ::Locate("pqClient.adp");
+    QString profile = QString("/usr/share/paraview/pqClient.adp");
       /*QCoreApplication::applicationDirPath() + QDir::separator()
       + QString("pqClient.adp");*/
     if(QFile::exists(profile))
--- ParaView3/Documentation/CMakeLists.txt.doc	2008-12-22 14:06:00.000000000 -0700
+++ ParaView3/Documentation/CMakeLists.txt	2009-07-21 16:17:55.928230792 -0600
@@ -143,7 +143,7 @@
 set(dir "${ParaView_BINARY_DIR}/Documentation/")
 install(
     DIRECTORY ${ParaView_BINARY_DIR}/Documentation/ 
-    DESTINATION ${PV_EXE_INSTALL}/Documentation 
+    DESTINATION "/usr/share/paraview/Documentation"
     COMPONENT Runtime
     REGEX ".html")
 
@@ -155,7 +155,7 @@
 
 install(
     FILES "${ParaView_BINARY_DIR}/about.html"
-    DESTINATION ${PV_INSTALL_BIN_DIR}
+    DESTINATION "/usr/share/paraview"
     COMPONENT Runtime)
 
 configure_file(
@@ -165,5 +165,5 @@
 
 install(
   FILES ${ParaView_BINARY_DIR}/pqClient.adp 
-  DESTINATION ${PV_EXE_INSTALL} 
+  DESTINATION "/usr/share/paraview"
   COMPONENT Runtime)
--- ParaView3/Qt/Components/pqClientMainWindow.cxx.doc	2009-07-20 13:37:39.000000000 -0600
+++ ParaView3/Qt/Components/pqClientMainWindow.cxx	2009-07-21 16:13:13.306167232 -0600
@@ -1060,7 +1060,7 @@
 #if defined(Q_WS_MAC)
     QString profile = QCoreApplication::applicationDirPath() + "/../Support/pqClient.adp";
 #else
-    QString profile = ::Locate("pqClient.adp");
+    QString profile = QString("/usr/share/paraview/pqClient.adp");
 #endif
       /*QCoreApplication::applicationDirPath() + QDir::separator()
       + QString("pqClient.adp");*/