From 6ecc8811ba7f634801ed88db496c53439c0337c3 Mon Sep 17 00:00:00 2001 From: Juliano Martinez Date: Mon, 14 Mar 2011 23:52:19 -0300 Subject: Changed debian install prefix from /usr to / --- linux/cmake/DpkgDeb.cmake | 4 ++-- 1 file 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}" ) -- cgit v1.2.3