aboutsummaryrefslogtreecommitdiffstats
path: root/linux
diff options
context:
space:
mode:
authorJuliano Martinez <juliano@falaserio.org>2011-03-14 23:52:19 -0300
committerJuliano Martinez <juliano@falaserio.org>2011-03-14 23:52:19 -0300
commit6ecc8811ba7f634801ed88db496c53439c0337c3 (patch)
tree394f9cb6fa790b0f1d5be386d306162d6949d176 /linux
parent47768381485d3ade5d3e4f3ff6369cad763d3458 (diff)
downloadrspamd-6ecc8811ba7f634801ed88db496c53439c0337c3.tar.gz
rspamd-6ecc8811ba7f634801ed88db496c53439c0337c3.zip
Changed debian install prefix from /usr to /
Diffstat (limited to 'linux')
-rw-r--r--linux/cmake/DpkgDeb.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/cmake/DpkgDeb.cmake b/linux/cmake/DpkgDeb.cmake
index 300ff0bf1..8a629521a 100644
--- a/linux/cmake/DpkgDeb.cmake
+++ b/linux/cmake/DpkgDeb.cmake
@@ -208,13 +208,13 @@ MACRO(ADD_DEBIAN_PACKAGE DEBNAME)
# Calling "make install DESTDIR=${DEBIAN_DIR}"
ADD_CUSTOM_TARGET(deb_destdir_install
- COMMAND ${CMAKE_MAKE_PROGRAM} install CMAKE_INSTALL_PREFIX=/usr DESTDIR=${DEBIAN_DIR}
+ COMMAND ${CMAKE_MAKE_PROGRAM} install CMAKE_INSTALL_PREFIX=/ DESTDIR=${DEBIAN_DIR}
DEPENDS ${CMAKE_BINARY_DIR}/cmake_install.cmake
COMMENT "Installing with DESTDIR = ${DEBIAN_DIR}"
)
ADD_DEPENDENCIES(deb_destdir_install deb_destdir_preinstall)
ADD_CUSTOM_TARGET(deb_destdir_preinstall
- COMMAND ${CMAKE_COMMAND} -DCMAKE_INSTALL_PREFIX=/usr -DDESTDIR=${DEBIAN_DIR} .
+ COMMAND ${CMAKE_COMMAND} -DCMAKE_INSTALL_PREFIX=/ -DDESTDIR=${DEBIAN_DIR} .
DEPENDS ${CMAKE_BINARY_DIR}/cmake_install.cmake
COMMENT "Configuring with DESTDIR = ${DEBIAN_DIR}"
)