make install doesn't work due to missing www directory in build directory
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
In the main PV CMakeLists.txt source file there is a custom command to create the ${PARAVIEW_WWW_DIR} directory (i.e. by default the www subdirectory in the build tree) but there is nothing that depends on the www.stamp output of the custom command so this directory never gets created. This is a problem when trying to install as it tries to install this missing directory. I think the CMakeLists.txt should be changed to something like:
if(BUILD_DOCUMENTATION)
add_custom_target(ParaViewDoc ALL
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/www.stamp)
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/www.stamp
COMMAND {CMAKE_COMMAND} -E make_directory "
{PARAVIEW_WWW_DIR}")
install(DIRECTORY "${PARAVIEW_WWW_DIR}" DESTINATION ${VTK_INSTALL_LIBRARY_DIR} COMPONENT Runtime) endif()