F1ash / qt-virt-manager

Qt Virtual machines manager
http://f1ash.github.io/qt-virt-manager
GNU General Public License v2.0
241 stars 72 forks source link

install files in wrong path #12

Closed sl1pkn07 closed 8 years ago

sl1pkn07 commented 8 years ago

when:

mkdir -p build
cd build
cmake ../qt-virt-manager \
  -DCMAKE_INSTALL_PREFIX=/usr \
  -DCMAKE_BUILD_TYPE=Release \
  -DBUILD_QT_VERSION=5
make
make install DESTDIR="${pkgdir}"

*note: ${pkgdir} is a "fakeroot" directory

then

-- Install configuration: "Release"
-- Installing: /tmp/makepkg/virt-manager-qt5-git/pkg/virt-manager-qt5-git/applications/qt5-virt-manager.desktop
-- Installing: /tmp/makepkg/virt-manager-qt5-git/pkg/virt-manager-qt5-git/usr/bin/qt5-virt-manager
-- Installing: /tmp/makepkg/virt-manager-qt5-git/pkg/virt-manager-qt5-git/qt5-virt-manager/misc
-- Installing: /tmp/makepkg/virt-manager-qt5-git/pkg/virt-manager-qt5-git/qt5-virt-manager/misc/network
-- Installing: /tmp/makepkg/virt-manager-qt5-git/pkg/virt-manager-qt5-git/qt5-virt-manager/misc/network/private.xml
-- Installing: /tmp/makepkg/virt-manager-qt5-git/pkg/virt-manager-qt5-git/qt5-virt-manager/misc/network/local.xml
-- Installing: /tmp/makepkg/virt-manager-qt5-git/pkg/virt-manager-qt5-git/qt5-virt-manager/misc/network/host-bridge.xml
-- Installing: /tmp/makepkg/virt-manager-qt5-git/pkg/virt-manager-qt5-git/qt5-virt-manager/misc/network/default6.xml
-- Installing: /tmp/makepkg/virt-manager-qt5-git/pkg/virt-manager-qt5-git/qt5-virt-manager/misc/network/default.xml
-- Installing: /tmp/makepkg/virt-manager-qt5-git/pkg/virt-manager-qt5-git/qt5-virt-manager/misc/domain
-- Installing: /tmp/makepkg/virt-manager-qt5-git/pkg/virt-manager-qt5-git/qt5-virt-manager/misc/domain/xen_paravirt_guest_direct-kernel_boot.xml
-- Installing: /tmp/makepkg/virt-manager-qt5-git/pkg/virt-manager-qt5-git/qt5-virt-manager/misc/domain/xen_paravirt_guest_bootloader.xml
-- Installing: /tmp/makepkg/virt-manager-qt5-git/pkg/virt-manager-qt5-git/qt5-virt-manager/misc/domain/xen_fullvirt_guest_derect-kernel_boot.xml
-- Installing: /tmp/makepkg/virt-manager-qt5-git/pkg/virt-manager-qt5-git/qt5-virt-manager/misc/domain/xen_fullvirt_guest_BIOS_boot.xml
-- Installing: /tmp/makepkg/virt-manager-qt5-git/pkg/virt-manager-qt5-git/qt5-virt-manager/misc/domain/qemu_guest_x86_64.xml
-- Installing: /tmp/makepkg/virt-manager-qt5-git/pkg/virt-manager-qt5-git/qt5-virt-manager/misc/domain/lxc_example2.xml
-- Installing: /tmp/makepkg/virt-manager-qt5-git/pkg/virt-manager-qt5-git/qt5-virt-manager/misc/domain/lxc_example1.xml
-- Installing: /tmp/makepkg/virt-manager-qt5-git/pkg/virt-manager-qt5-git/qt5-virt-manager/misc/domain/kvm_guest_i686.xml
-- Installing: /tmp/makepkg/virt-manager-qt5-git/pkg/virt-manager-qt5-git/icons/hicolor/256x256/apps/virtual-engineering.png

only the executable is installed in the PREFIX, the rest of files is installed in a root of DESTDIR directory

greetings

sl1pkn07 commented 8 years ago

ok. the workground is set '-DSHARE_INSTALL_PREFIX'

EDIT:

SHARE_INSTALL_PREFIX is not set in CMakeLists.txt

F1ash commented 8 years ago

fixed.