]> source.dussan.org Git - rspamd.git/commitdiff
Changed debian install prefix from /usr to /
authorJuliano Martinez <juliano@falaserio.org>
Tue, 15 Mar 2011 02:52:19 +0000 (23:52 -0300)
committerJuliano Martinez <juliano@falaserio.org>
Tue, 15 Mar 2011 02:52:19 +0000 (23:52 -0300)
linux/cmake/DpkgDeb.cmake

index 300ff0bf1e4986bac837464251c75097f9e61de2..8a629521a962838ce6e98091b654f302b75d6dbe 100644 (file)
@@ -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}"
   )