Author: Gerfried Fuchs vim:ft=diff: Description: Fix install destinations for sql files Index: pgagent-3.0.0/CMakeLists.txt =================================================================== --- pgagent-3.0.0.orig/CMakeLists.txt +++ pgagent-3.0.0/CMakeLists.txt @@ -130,13 +130,10 @@ IF (WIN32) INSTALL(FILES ${pgagent_SOURCE_DIR}/pgagent_upgrade.sql DESTINATION .) ELSE(WIN32) INSTALL(TARGETS pgagent DESTINATION bin) - INSTALL(FILES ${pgagent_SOURCE_DIR}/pgagent.sql DESTINATION share) - INSTALL(FILES ${pgagent_SOURCE_DIR}/pgagent_upgrade.sql DESTINATION share) + INSTALL(FILES ${pgagent_SOURCE_DIR}/pgagent.sql DESTINATION share/pgadmin3) + INSTALL(FILES ${pgagent_SOURCE_DIR}/pgagent_upgrade.sql DESTINATION share/pgadmin3) ENDIF(WIN32) -INSTALL(FILES ${pgagent_SOURCE_DIR}/README DESTINATION .) -INSTALL(FILES ${pgagent_SOURCE_DIR}/LICENSE DESTINATION .) - ################################################################################ # pgaevent ################################################################################