From d56564f5e3d9ccefc9ac34c81dc8d061298301e7 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 16 Nov 2011 17:41:11 -0800 Subject: cmake: moved post/pre inst/uinst files --- cmake/Modules/GrPackage.cmake | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'cmake/Modules') diff --git a/cmake/Modules/GrPackage.cmake b/cmake/Modules/GrPackage.cmake index 8761a9290..a36ad9162 100644 --- a/cmake/Modules/GrPackage.cmake +++ b/cmake/Modules/GrPackage.cmake @@ -141,11 +141,11 @@ endif() # DEB package specific ######################################################################## foreach(filename preinst postinst prerm postrm) - list(APPEND CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA ${CMAKE_BINARY_DIR}/debian/${filename}) - file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/debian) + list(APPEND CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA ${CMAKE_BINARY_DIR}/Packaging/${filename}) + file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/Packaging) configure_file( - ${CMAKE_SOURCE_DIR}/cmake/debian/${filename}.in - ${CMAKE_BINARY_DIR}/debian/${filename} + ${CMAKE_SOURCE_DIR}/cmake/Packaging/${filename}.in + ${CMAKE_BINARY_DIR}/Packaging/${filename} @ONLY) endforeach(filename) @@ -154,11 +154,11 @@ endforeach(filename) ######################################################################## foreach(filename post_install post_uninstall pre_install pre_uninstall) string(TOUPPER ${filename} filename_upper) - list(APPEND CPACK_RPM_${filename_upper}_SCRIPT_FILE ${CMAKE_BINARY_DIR}/redhat/${filename}) - file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/redhat) + list(APPEND CPACK_RPM_${filename_upper}_SCRIPT_FILE ${CMAKE_BINARY_DIR}/Packaging/${filename}) + file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/Packaging) configure_file( - ${CMAKE_SOURCE_DIR}/cmake/redhat/${filename}.in - ${CMAKE_BINARY_DIR}/redhat/${filename} + ${CMAKE_SOURCE_DIR}/cmake/Packaging/${filename}.in + ${CMAKE_BINARY_DIR}/Packaging/${filename} @ONLY) endforeach(filename) -- cgit