diff options
author | Josh Blum | 2011-11-16 17:41:11 -0800 |
---|---|---|
committer | Josh Blum | 2011-11-30 21:37:54 -0500 |
commit | d56564f5e3d9ccefc9ac34c81dc8d061298301e7 (patch) | |
tree | 53a239da39103f95fd113a5c9d1e8fff085b444f /cmake | |
parent | 507c3a2eba8153ab285f0ec8c35598588382d1db (diff) | |
download | gnuradio-d56564f5e3d9ccefc9ac34c81dc8d061298301e7.tar.gz gnuradio-d56564f5e3d9ccefc9ac34c81dc8d061298301e7.tar.bz2 gnuradio-d56564f5e3d9ccefc9ac34c81dc8d061298301e7.zip |
cmake: moved post/pre inst/uinst files
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/Modules/GrPackage.cmake | 16 | ||||
-rwxr-xr-x | cmake/Packaging/post_install.in (renamed from cmake/redhat/post_install.in) | 0 | ||||
-rwxr-xr-x | cmake/Packaging/post_uninstall.in (renamed from cmake/redhat/post_uninstall.in) | 0 | ||||
-rwxr-xr-x | cmake/Packaging/postinst.in (renamed from cmake/debian/postinst.in) | 0 | ||||
-rwxr-xr-x | cmake/Packaging/postrm.in (renamed from cmake/debian/postrm.in) | 0 | ||||
-rwxr-xr-x | cmake/Packaging/pre_install.in (renamed from cmake/redhat/pre_install.in) | 0 | ||||
-rwxr-xr-x | cmake/Packaging/pre_uninstall.in (renamed from cmake/redhat/pre_uninstall.in) | 0 | ||||
-rwxr-xr-x | cmake/Packaging/preinst.in (renamed from cmake/debian/preinst.in) | 0 | ||||
-rwxr-xr-x | cmake/Packaging/prerm.in (renamed from cmake/debian/prerm.in) | 0 |
9 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) diff --git a/cmake/redhat/post_install.in b/cmake/Packaging/post_install.in index e7245f032..e7245f032 100755 --- a/cmake/redhat/post_install.in +++ b/cmake/Packaging/post_install.in diff --git a/cmake/redhat/post_uninstall.in b/cmake/Packaging/post_uninstall.in index 2d1871b1d..2d1871b1d 100755 --- a/cmake/redhat/post_uninstall.in +++ b/cmake/Packaging/post_uninstall.in diff --git a/cmake/debian/postinst.in b/cmake/Packaging/postinst.in index 7fef2accf..7fef2accf 100755 --- a/cmake/debian/postinst.in +++ b/cmake/Packaging/postinst.in diff --git a/cmake/debian/postrm.in b/cmake/Packaging/postrm.in index b780602a7..b780602a7 100755 --- a/cmake/debian/postrm.in +++ b/cmake/Packaging/postrm.in diff --git a/cmake/redhat/pre_install.in b/cmake/Packaging/pre_install.in index 1a2485251..1a2485251 100755 --- a/cmake/redhat/pre_install.in +++ b/cmake/Packaging/pre_install.in diff --git a/cmake/redhat/pre_uninstall.in b/cmake/Packaging/pre_uninstall.in index c5e085e89..c5e085e89 100755 --- a/cmake/redhat/pre_uninstall.in +++ b/cmake/Packaging/pre_uninstall.in diff --git a/cmake/debian/preinst.in b/cmake/Packaging/preinst.in index c60d46568..c60d46568 100755 --- a/cmake/debian/preinst.in +++ b/cmake/Packaging/preinst.in diff --git a/cmake/debian/prerm.in b/cmake/Packaging/prerm.in index d09887850..d09887850 100755 --- a/cmake/debian/prerm.in +++ b/cmake/Packaging/prerm.in |