summaryrefslogtreecommitdiff
path: root/cmake/Modules
diff options
context:
space:
mode:
authorJosh Blum2011-11-16 17:41:11 -0800
committerJosh Blum2011-11-30 21:37:54 -0500
commitd56564f5e3d9ccefc9ac34c81dc8d061298301e7 (patch)
tree53a239da39103f95fd113a5c9d1e8fff085b444f /cmake/Modules
parent507c3a2eba8153ab285f0ec8c35598588382d1db (diff)
downloadgnuradio-d56564f5e3d9ccefc9ac34c81dc8d061298301e7.tar.gz
gnuradio-d56564f5e3d9ccefc9ac34c81dc8d061298301e7.tar.bz2
gnuradio-d56564f5e3d9ccefc9ac34c81dc8d061298301e7.zip
cmake: moved post/pre inst/uinst files
Diffstat (limited to 'cmake/Modules')
-rw-r--r--cmake/Modules/GrPackage.cmake16
1 files changed, 8 insertions, 8 deletions
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)